CVE-2022-46166: Spring Boot Admins integrated notifier support allows arbitrary code execution

Published Dec 9, 2022
·
Updated

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 Software

7 affected components
Codecentric Spring Boot Admin<2.6.10
Codecentric Spring Boot Admin>=2.7.0<2.7.8
Codecentric Spring Boot Admin=3.0.0-m1
Codecentric Spring Boot Admin=3.0.0-m2
Codecentric Spring Boot Admin=3.0.0-m3
Codecentric Spring Boot Admin=3.0.0-m4
Codecentric Spring Boot Admin=3.0.0-m5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Spring Boot Admin to a version that resolves this vulnerability.

    Fixed in 2.6.10
  2. Upgrade

    Upgrade Spring Boot Admin to a version that resolves this vulnerability.

    Fixed in 2.7.8
  3. Configuration

    Disable all enabled notifiers, including Teams-Notifier.

    Spring Boot Admin Server Notifiers = disabled
  4. Configuration

    Disable write access via POST requests to the /env actuator endpoint.

    Spring Boot Admin Server POST write access to /env actuator endpoint = disabled

Event History

Dec 9, 2022
CVE Published
via MITRE·08:11 PM
Data Sourced
via MITRE·08:11 PM
DescriptionSeverityWeakness
Aug 17, 2025
Exploit Published
via GitHub·07:15 AM

Frequently Asked Questions

1

What is the severity of CVE-2022-46166?

CVE-2022-46166 is considered a significant vulnerability affecting Spring Boot Admin Server with specific configurations.

2

How do I fix CVE-2022-46166?

To fix CVE-2022-46166, users should upgrade to a version of Spring Boot Admin that is not affected, specifically above 2.6.10 or 2.7.8, or the later milestone versions for 3.0.0.

3

Which versions are affected by CVE-2022-46166?

CVE-2022-46166 affects Spring Boot Admin versions up to 2.6.10, versions between 2.7.0 and 2.7.8, and milestones 1 through 5 of 3.0.0.

4

Who is affected by CVE-2022-46166?

All users running Spring Boot Admin Server with enabled Notifiers and write access to environment variables via the UI are affected by CVE-2022-46166.

5

What is the impact of CVE-2022-46166?

CVE-2022-46166 can potentially allow unauthorized changes to environment variables, leading to configuration manipulation of Spring Boot applications.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203