Apollo ConfigService access key authentication bypass via raw config file appId parsing
Published 13 Jul 2026 · Updated 20 Jul 2026
Is your project on an affected com.ctrip.framework.apollo:apollo?
Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- All versions
- Fixed in
- No fix released
Details
Summary
Apollo ConfigService may allow unauthorized access to raw configuration data when AccessKey / management key authentication is enabled because authentication parsed the appId incorrectly for the raw config file endpoint.
Details
Requests under /configfiles/raw/{appId}/{clusterName}/{namespace} were parsed for authentication as appId "raw" instead of the actual path appId. ConfigService used the parsed appId to look up available AccessKey secrets before verifying the request signature.
If no AccessKey is configured for an application literally named "raw", ConfigService may treat the request as having no available secrets and allow it to continue without signature verification, even when AccessKey / management key authentication is enabled for the actual target appId in the path.
Impact
An unauthenticated remote attacker may read raw configuration data from affected ConfigService endpoints when AccessKey / management key authentication is enabled for the target app and the attacker requests the raw config file endpoint.
Affected endpoints
The primary impact is on ConfigService raw config file reads under /configfiles/raw/{appId}/{clusterName}/{namespace}.
Status
Fixed in Apollo 2.5.2. Users should upgrade to Apollo 2.5.2 or later.
Related advisory
The non-canonical appId matching issue is tracked separately in GHSA-4w3q-qpfq-v992 so each independently fixable vulnerability can receive its own CVE.
Is GHSA-h4pc-58cc-hc95 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected com.ctrip.framework.apollo:apollo, and gives you the command that fixes it.
More advisories for com.ctrip.framework.apollo:apollo
- HighCVE-2026-59954Apollo ConfigService access key authentication bypass via appId parsing and non-canonical matching · 13 Jul 2026
- MediumCVE-2025-32781Apollo Portal: There is a risk of unauthorized access to the Apollo configuration center · 13 Jul 2026
- MediumCVE-2024-43397apollo-portal has potential unauthorized access issue · 20 Aug 2024
- HighCVE-2023-25570Apollo has potential access control security issue in eureka · 22 Feb 2023
- MediumCVE-2023-25569apollo-portal has potential CSRF issue · 22 Feb 2023
- CriticalCVE-2019-10686Server-Side Request Forgery (SSRF) in com.ctrip.framework.apollo:apollo · 18 Apr 2019
References
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.