{"id":"CVE-2025-32781","aliases":["GHSA-jxpj-9j24-w337"],"title":"Apollo Portal: There is a risk of unauthorized access to the Apollo configuration center","summary":"Apollo Portal: There is a risk of unauthorized access to the Apollo configuration center","severity":"medium","cvss":6.5,"cwe":["CWE-639","CWE-862"],"vendor":"ctrip","product":"com.ctrip.framework.apollo:apollo","ecosystem":"maven","affected":["com.ctrip.framework.apollo:apollo < 2.5.0"],"published":"2026-07-13","updated":"2026-07-13","source":"GHSA","sourceUrl":"https://github.com/advisories/GHSA-jxpj-9j24-w337","references":[{"url":"https://github.com/apolloconfig/apollo/security/advisories/GHSA-jxpj-9j24-w337"},{"url":"https://github.com/apolloconfig/apollo/pull/5378"},{"url":"https://github.com/apolloconfig/apollo/commit/362735ded4f13b62f6ab9df135d7096066e8e291"},{"url":"https://github.com/apolloconfig/apollo/releases/tag/v2.5.0"},{"url":"https://github.com/advisories/GHSA-jxpj-9j24-w337"}],"tags":["ghsa","maven"],"ingestedAt":"2026-07-13T17:27:59.089Z","epss":0.00415,"epssPercentile":0.33045,"slug":"CVE-2025-32781","body":"## Overview\n\n### 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.\n\n## Affected packages\n\n- `com.ctrip.framework.apollo:apollo < 2.5.0`\n\n## Remediation\n\nRefer to the advisory for the patched release.","depth":"sunlit","depthScore":36,"depthScoreParts":{"impact":35.8,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}