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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.1
- **CVSS:** 8.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: Low; User interaction: Required; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 1.49% (percentile 74, 2026-11-26)
- **CWE:** CWE-94
- **Aliases:** GHSA-w3x5-427h-wfq6
- **Published:** 2022-12-09T20:11:11.646Z
- **Modified:** 2026-06-17T05:11:20.743Z

## Who should check

- Projects that depend on Maven package de.codecentric:spring-boot-admin (\< 2.6.10)
- Anyone running codecentric spring-boot-admin \< 2.6.10

## 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 and fixed versions

- Maven `de.codecentric:spring-boot-admin`: affected \< 2.6.10; fixed 2.6.10, 2.7.8, 3.0.0-M6 (osv)
- codecentric spring-boot-admin: \< 2.6.10 (cvelist)

## Mitigation

- Upgrade de.codecentric:spring-boot-admin to one of 2.6.10, 2.7.8, 3.0.0-M6 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2022-46166. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-46166.md
Affected: de.codecentric:spring-boot-admin < 2.6.10
Fixed in: 2.6.10, 2.7.8, 3.0.0-M6

Steps:
1. Search this machine and project for de.codecentric:spring-boot-admin (Maven), codecentric spring-boot-admin: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2022-46166 being exploited?

There is no confirmed exploitation: CVE-2022-46166 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 1.49% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2022-46166?

High: CVSS 8.1 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2022-46166?

de.codecentric:spring-boot-admin \< 2.6.10.

### Is there a fix for CVE-2022-46166?

Yes. Fixed in 2.6.10, 2.7.8, 3.0.0-M6. Upgrade de.codecentric:spring-boot-admin to one of 2.6.10, 2.7.8, 3.0.0-M6 (or later in the same release line).

### How do I check if I'm affected by CVE-2022-46166?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/codecentric/spring-boot-admin/security/advisories/GHSA-w3x5-427h-wfq6>
- patch: <https://github.com/codecentric/spring-boot-admin/commit/c14c3ec12533f71f84de9ce3ce5ceb7991975f75>
- other: <https://github.com/codecentric/spring-boot-admin>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2022-46166>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-w3x5-427h-wfq6> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2022-46166> · JSON: <https://flawdb.com/api/v1/entries/CVE-2022-46166>
