patchminder
Proof of concept · GitHub CVE-2022-46166

Code executionin the de.codecentric:spring-boot-admin package.

Published 9 Dec 2022 · Updated 23 Apr 2025 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

Proof of concept public (GitHub).

Attack code is public
Severity
High 8.1
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 1.6% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed in 2.6.10, 2.7.8, 3.0.0-M6
In plain words

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.

What to do now
  • Upgrade spring-boot-admin to 2.6.10 or later.
  • Upgrade de.codecentric:spring-boot-admin (Maven) to 2.6.10, 2.7.8, 3.0.0-M6 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
spring-boot-admin
before 2.6.10
2.6.10
CVE record
de.codecentric:spring-boot-admin (Maven)
before 2.6.10
2.6.10
GitHub advisory
de.codecentric:spring-boot-admin (Maven)
2.7.0 to before 2.7.8
2.7.8
GitHub advisory
de.codecentric:spring-boot-admin (Maven)
3.0.0-M1 to before 3.0.0-M6
3.0.0-M6
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 28 Nov 2022
    CVE ID reserved by GitHub_M.
  2. 9 Dec 2022
    Published in the CVE List.
  3. 23 Apr 2025
    CVE record last updated.
  4. 17 Aug 2025
    First public proof of concept on GitHub.
Exploit code

Attack code anyone can find

Exploit maturity: Proof of concept (GitHub). CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
1 repository
GitHubno warning signs foundshoucheng3/codecentric__spring-boot-admin_CVE-2022-46166_2-6-91 stars · created 17 Aug 2025

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Same weakness: Code injection

All CWE-94 vulnerabilities

References
Cite this page

Patchminder. CVE-2022-46166: Code execution in the de.codecentric:spring-boot-admin package. https://patchminder.com/cve/cve-2022-46166/ (accessed 5 December 2026).