CVE-2022-46166 is a high-severity (CVSS 8) Code Injection vulnerability in de.codecentric:spring-boot-admin. A fix is available for de.codecentric:spring-boot-admin — see the affected versions and patch details below.
Spring Boot Admins integrated notifier support allows arbitrary code execution
Exploitation Status
No confirmed exploitation observed yet
- A successful exploit gives an attacker total control of the affected component, not partial access.
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for CVE-2022-46166.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
de.codecentric:spring-boot-admin☕de.codecentric:spring-boot-admin☕de.codecentric:spring-boot-adminReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Spring boot admins is an open source administrative user interface for management of spring boot applications. All users who run Spring Boot Admin Server, having enabled Notifiers (e.g. Teams-Notifier) and write access to environment variables via UI are affected. Users are advised to upgrade to the most recent releases of Spring Boot Admin 2.6.10 and 2.7.8 to resolve this issue. Users unable to upgrade may disable any notifier or disable write access (POST request) on /env actuator endpoint.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | de.codecentric:spring-boot-admin | all versions | 2.6.10de.codecentric:spring-boot-admin:2.6.10 |
| ☕Maven | de.codecentric:spring-boot-admin | ≥ 2.7.0&&< 2.7.8 | 2.7.8de.codecentric:spring-boot-admin:2.7.8 |
| ☕Maven | de.codecentric:spring-boot-admin | ≥ 3.0.0-M1&&< 3.0.0-M6 | 3.0.0-M6de.codecentric:spring-boot-admin:3.0.0-M6 |
Affected Products
spring boot admincodecentricDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for de.codecentric:spring-boot-admin, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update de.codecentric:spring-boot-admin to 2.6.10 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2022-46166 is resolved across your whole dependency graph.
Workarounds
Stop passing untrusted input into the interpreter or shell: call the affected binary with an argument array rather than a composed command string, reject anything outside a strict allowlist of expected values, and run the component under an account that cannot reach beyond the work it legitimately does.
Frequently Asked Questions
Is CVE-2022-46166 in your dependencies?
Find it across Maven, including transitive dependencies.