CVE-2026-59955: Apollo Authentication Bypass Vulnerability

HIGH
Advisory Identifier: GHSA-h4pc-58cc-hc95
CVSS 7.5
CWE-287 CWE-20
Published
Advisory Summary

CVE-2026-59955 is a HIGH (CVSS 7.5) authentication bypass vulnerability (CWE-287: Improper Authentication) affecting Apollo libraries in the Maven ecosystem. The issue involves apollo configservice access key authentication bypass via raw config file appid parsing. Remediation is available in the latest vendor maintenance releases.

CVE-2026-59955 at a Glance

CVE Identifier CVE-2026-59955
GHSA Identifier GHSA-h4pc-58cc-hc95
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification CWE-287: Improper Authentication
Affected Product Apollo
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2026-59955

To remediate this vulnerability, upgrade all affected Apollo dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

com.ctrip.framework.apollo:apollo fixed: Latest secure release
<dependency>
    <groupId>com.ctrip.framework.apollo</groupId>
    <artifactId>apollo</artifactId>
    <version>Latest secure release</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=com.ctrip.framework.apollo

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2026-59955, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=com.ctrip.framework.apollo

Analyze the terminal output to locate any version of Apollo in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.

Note: The mvn dependency:tree -Dincludes=com.ctrip.framework.apollo command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Apollo, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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.

CVE-2026-59955 Affected Apollo Versions

1 component(s)
Product / Package Ecosystem Affected Versions Fixed Version
com.ctrip.framework.apollo:apollo
Maven

References

Frequently Asked Questions

What is CVE-2026-59955?
CVE-2026-59955 is a security vulnerability in Apollo involving Apollo ConfigService access key authentication bypass via raw config file appId parsing under CWE-287: Improper Authentication.
Which Apollo versions are affected?
Affected versions include releases prior to current release patches across affected packages: com.ctrip.framework.apollo:apollo.
What version fixes CVE-2026-59955?
Upgrading to current release patches (or the latest patched release for your respective branch) resolves the vulnerability.
Is apollo affected?
Yes, com.ctrip.framework.apollo:apollo is affected in releases prior to Latest secure release. Upgrade your dependency to Latest secure release or later.
What is the CVSS score of CVE-2026-59955?
CVE-2026-59955 has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2026-59955?
CVE-2026-59955 is classified under CWE-287: Improper Authentication (When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.).
How can I check Maven dependencies for CVE-2026-59955?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=com.ctrip.framework.apollo'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-h4pc-58cc-hc95",
  "modified" : "2026-07-20T19:16:36Z",
  "published" : "2026-07-13T18:37:14Z",
  "aliases" : [ "CVE-2026-59955" ],
  "summary" : "Apollo ConfigService access key authentication bypass via raw config file appId parsing",
  "details" : "### Summary\nApollo 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.\n\n### Details\nRequests 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.\n\nIf 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.\n\n### Impact\nAn 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.\n\n### Affected endpoints\nThe primary impact is on ConfigService raw config file reads under /configfiles/raw/{appId}/{clusterName}/{namespace}.\n\n### Status\nFixed in Apollo 2.5.2. Users should upgrade to Apollo 2.5.2 or later.\n\n### Related advisory\nThe non-canonical appId matching issue is tracked separately in GHSA-4w3q-qpfq-v992 so each independently fixable vulnerability can receive its own CVE.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "com.ctrip.framework.apollo:apollo"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "< 2.5.2"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/apolloconfig/apollo/security/advisories/GHSA-h4pc-58cc-hc95"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-59955"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apolloconfig/apollo/commit/310809d557e01c6803051736cd525e333ffe00ec"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apolloconfig/apollo"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apolloconfig/apollo/releases/tag/v2.5.2"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20", "CWE-287" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-07-13T18:37:14Z",
    "nvd_published_at" : "2026-07-15T17:16:51Z"
  }
}