CVE-2025-32781: Apollo Portal There Is A Risk Of Vulnerability

MODERATE
Advisory Identifier: GHSA-jxpj-9j24-w337
CVSS 6.5
CWE-639 CWE-862
Published
Advisory Summary

CVE-2025-32781 is a MODERATE (CVSS 6.5) there is a risk of vulnerability (CWE-639: Authorization Bypass Through User-Controlled Key) affecting Apollo Portal libraries in the Maven ecosystem. The issue involves there is a risk of unauthorized access to the apollo configuration center. Remediation is available in the latest vendor maintenance releases.

CVE-2025-32781 at a Glance

CVE Identifier CVE-2025-32781
GHSA Identifier GHSA-jxpj-9j24-w337
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-639: Authorization Bypass Through User-Controlled Key
Affected Product Apollo Portal
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 6.5

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

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
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-2025-32781

To remediate this vulnerability, upgrade all affected Apollo Portal 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-2025-32781, 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 Portal 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-639: Authorization Bypass Through User-Controlled Key, where the system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data. In Apollo Portal, 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 Portal versions before 2.5.0 do not verify application and namespace permissions when an authenticated user requests a release by ID through `GET /envs/{env}/releases/{releaseId}`. When `configView.memberOnly.envs` is enabled for the requested environment, a low-privileged Portal user can supply a valid release ID belonging to an application or namespace they are not authorized to view. The endpoint returns the release data without calling `UserPermissionValidator.shouldHideConfigToCurrentUser(...)`. ### Impact An authenticated attacker who obtains or guesses a valid release ID can read configuration data from other applications and namespaces. Exposed configuration may contain sensitive values such as credentials or service endpoints. The issue does not allow configuration modification and does not directly affect availability. ### Affected versions Apollo Portal versions earlier than 2.5.0 are affected when `configView.memberOnly.envs` is enabled. ### Patches The issue is fixed in Apollo 2.5.0. The fix adds the missing application and namespace permission check before returning release data. - Fix: https://github.com/apolloconfig/apollo/pull/5378 - Fix commit: https://github.com/apolloconfig/apollo/commit/362735ded4f13b62f6ab9df135d7096066e8e291 - Patched release: https://github.com/apolloconfig/apollo/releases/tag/v2.5.0 ### Workarounds Upgrade to Apollo 2.5.0 or later. If an immediate upgrade is not possible, backport the permission check from [PR #5378](https://github.com/apolloconfig/apollo/pull/5378) and restrict Apollo Portal access to trusted users until the fix is deployed. ### Credits Apollo Portal thanks [@lesignals](https://github.com/lesignals) for reporting this issue.

CVE-2025-32781 Affected Apollo Portal Versions

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

References

Frequently Asked Questions

What is CVE-2025-32781?
CVE-2025-32781 is a security vulnerability in Apollo Portal involving There is a risk of unauthorized access to the Apollo configuration center under CWE-639: Authorization Bypass Through User-Controlled Key.
Which Apollo Portal versions are affected?
Affected versions include releases prior to current release patches across affected packages: com.ctrip.framework.apollo:apollo.
What version fixes CVE-2025-32781?
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-2025-32781?
CVE-2025-32781 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2025-32781?
CVE-2025-32781 is classified under CWE-639: Authorization Bypass Through User-Controlled Key (The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.).
How can I check Maven dependencies for CVE-2025-32781?
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-jxpj-9j24-w337",
  "modified" : "2026-07-20T19:16:49Z",
  "published" : "2026-07-13T16:47:09Z",
  "aliases" : [ "CVE-2025-32781" ],
  "summary" : "Apollo Portal: There is a risk of unauthorized access to the Apollo configuration center",
  "details" : "### Summary\n\nApollo Portal versions before 2.5.0 do not verify application and namespace permissions when an authenticated user requests a release by ID through `GET /envs/{env}/releases/{releaseId}`.\n\nWhen `configView.memberOnly.envs` is enabled for the requested environment, a low-privileged Portal user can supply a valid release ID belonging to an application or namespace they are not authorized to view. The endpoint returns the release data without calling `UserPermissionValidator.shouldHideConfigToCurrentUser(...)`.\n\n### Impact\n\nAn authenticated attacker who obtains or guesses a valid release ID can read configuration data from other applications and namespaces. Exposed configuration may contain sensitive values such as credentials or service endpoints. The issue does not allow configuration modification and does not directly affect availability.\n\n### Affected versions\n\nApollo Portal versions earlier than 2.5.0 are affected when `configView.memberOnly.envs` is enabled.\n\n### Patches\n\nThe issue is fixed in Apollo 2.5.0. The fix adds the missing application and namespace permission check before returning release data.\n\n- Fix: https://github.com/apolloconfig/apollo/pull/5378\n- Fix commit: https://github.com/apolloconfig/apollo/commit/362735ded4f13b62f6ab9df135d7096066e8e291\n- Patched release: https://github.com/apolloconfig/apollo/releases/tag/v2.5.0\n\n### Workarounds\n\nUpgrade to Apollo 2.5.0 or later. If an immediate upgrade is not possible, backport the permission check from [PR #5378](https://github.com/apolloconfig/apollo/pull/5378) and restrict Apollo Portal access to trusted users until the fix is deployed.\n\n### Credits\n\nApollo Portal thanks [@lesignals](https://github.com/lesignals) for reporting this issue.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/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.0"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/apolloconfig/apollo/security/advisories/GHSA-jxpj-9j24-w337"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-32781"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apolloconfig/apollo/pull/5378"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apolloconfig/apollo/commit/362735ded4f13b62f6ab9df135d7096066e8e291"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/apolloconfig/apollo"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/apolloconfig/apollo/releases/tag/v2.5.0"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-639", "CWE-862" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-07-13T16:47:09Z",
    "nvd_published_at" : "2026-07-15T17:16:45Z"
  }
}