{"id":"CVE-2022-46166","published":"2022-12-09T20:11:11Z","modified":"2025-04-23T16:29:18Z","title":"Spring Boot Admins integrated notifier support allows arbitrary code execution","vendor":"codecentric","product":"spring-boot-admin","tier":"tail","description":{"text":"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.\n\n","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01632,"percentile":0.76845,"provenance":"source"},"cwes":[{"id":"CWE-94","name":"Improper Control of Generation of Code"}],"references":[{"url":"https://github.com/codecentric/spring-boot-admin/security/advisories/GHSA-w3x5-427h-wfq6","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/codecentric/spring-boot-admin/commit/c14c3ec12533f71f84de9ce3ce5ceb7991975f75","tags":["x_refsource_MISC"]}],"priority":{"score":26.0,"factors":[{"name":"EPSS percentile","points":15.37},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.67}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2025-08-17","earliestUrl":"https://github.com/shoucheng3/codecentric__spring-boot-admin_CVE-2022-46166_2-6-9","repos":[{"name":"shoucheng3/codecentric__spring-boot-admin_CVE-2022-46166_2-6-9","url":"https://github.com/shoucheng3/codecentric__spring-boot-admin_CVE-2022-46166_2-6-9","stars":1,"created":"2025-08-17"}]},"first":{"date":"2025-08-17","source":"PoC-in-GitHub","url":"https://github.com/shoucheng3/codecentric__spring-boot-admin_CVE-2022-46166_2-6-9"},"provenance":"source"},"vendorSlug":"codecentric","affectedVersions":[{"vendor":"codecentric","product":"spring-boot-admin","versions":["< 2.6.10"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2025-04-23T15:45:59.993854Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"de.codecentric:spring-boot-admin","vulnerableRanges":["<2.6.10",">=2.7.0, <2.7.8",">=3.0.0-M1, <3.0.0-M6"],"patched":["2.6.10","2.7.8","3.0.0-M6"],"from":["GHSA-w3x5-427h-wfq6"],"provenance":"source"}],"summary":{"text":"The flaw is in the notifier support of codecentric's spring-boot-admin, an administrative interface for managing Spring Boot applications, where enabling a notifier such as the Teams notifier lets environment variables be altered and leads to improper control of code generation. An attacker with network access and low privileges, along with a user interaction and write access to environment variables through the UI, can achieve arbitrary code execution, and the exposure applies to deployments running Spring Boot Admin Server with notifiers enabled.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T05:39:08Z"},"euvd":{"id":"EUVD-2022-7754","exploited":false,"provenance":"source"}}