CVE-2025-32781: Apollo Portal There Is A Risk Of Vulnerability
MODERATECVE-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
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).
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.
<dependency>
<groupId>com.ctrip.framework.apollo</groupId>
<artifactId>apollo</artifactId>
<version>Latest secure release</version>
</dependency>
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
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?
Which Apollo Portal versions are affected?
What version fixes CVE-2025-32781?
Is apollo affected?
What is the CVSS score of CVE-2025-32781?
What CWE is associated with CVE-2025-32781?
How can I check Maven dependencies for CVE-2025-32781?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}