GitHub Advisoryadvisory · Maven

GHSA-4w3q-qpfq-v992 Apollo ConfigService access key authentication bypass via appId parsing and non-canonical matching

HIGH Published 2026-07-13 Modified 2026-07-20 Official page ↗
Aliases
CVE-2026-59954
Ecosystem
Maven
Packages
com.ctrip.framework.apollo:apollo
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-20, CWE-287
Reviewed
2026-07-13

Affected packages

• Maven com.ctrip.framework.apollo:apollo: <= 2.0.1 (no fix yet)

Description

Summary Apollo ConfigService may allow unauthorized access to configuration data when AccessKey / management key authentication is enabled and ConfigService accepts a non-canonical appId variant during authentication while downstream request handling resolves it to the protected app. Details ConfigService extracts appId from configuration and notification requests and uses the extracted value to look up available AccessKey secrets. If the extracted appId is a non-canonical variant that does not exactly match the AccessKey cache key, ConfigService may treat the request as having no available secrets and allow it to continue without signature verification. This can happen when downstream release lookup still matches the real appId under database collations that treat the values as equivalent. Examples include accent variants under accent-insensitive collations, or trailing-space variants under PAD SPACE collations. Impact An unauthenticated remote attacker may read configuration data from affected ConfigService endpoints when AccessKey / management key authentication is enabled for the target app and the deployment database collation treats a non-canonical appId variant as equivalent to the real appId. Affected endpoints The primary impact is on ConfigService configuration read endpoints under /configs and /configfiles. Notification endpoints using appId parameters are also hardened as defense-in-depth. Status Fixed in Apollo 2.5.2. Users should upgrade to Apollo 2.5.2 or later. Related advisory The raw config file endpoint parsing issue originally described in this advisory has been split into GHSA-h4pc-58cc-hc95 so each independently fixable vulnerability can receive its own CVE.

Related

Alias · CVE (1)

  • CVE-2026-59954 Apollo is a reliable configuration management system suitable for microservice configuration management scenarios. vulnerability

Weakness · CWE (2)

  • CWE-20 Improper Input Validation weakness
  • CWE-287 Improper Authentication weakness

References