# GHSA-2gh6-wc3m-g37f: hermes-management is vulnerable to RCE due to Apache commons-jxpath

- Severity: Critical (CVSS:4.0, scored by GitHub) `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2024-09-17T19:29:24.000Z
- Modified: 2026-08-31T23:15:07.884Z
- Weaknesses: CWE-1395

## Description

### Impact
hermes-management is vulnerable to RCE when it processes user-controlled data due to using Apache commons-jxpath.

### Patches
Upgrade Hermes to at least hermes-2.2.9

### References
https://hackinglab.cz/en/blog/remote-code-execution-in-jxpath-library-cve-2022-41852/

(As written by GitHub Advisory Database.)

## Affected

- pl.allegro.tech.hermes:hermes-management (Maven): from 0.8.2 before 2.2.9

## Every score

- GitHub: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 Critical `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`

## References

- <https://github.com/allegro/hermes/security/advisories/GHSA-2gh6-wc3m-g37f> (web)
- <https://github.com/allegro/hermes/commit/72ecc5aa41e37fd614443dd35d9200b66a61afb1> (web)
- <https://github.com/allegro/hermes/commit/92d4ad0cf6868ba784707772b78e129fedff7a31> (web)
- <https://github.com/allegro/hermes> (package)
- <https://hackinglab.cz/en/blog/remote-code-execution-in-jxpath-library-cve-2022-41852> (web)

## Sources

- GitHub Advisory Database: [GHSA-2gh6-wc3m-g37f](https://github.com/advisories/GHSA-2gh6-wc3m-g37f), CC-BY-4.0, modified 2026-08-31

---

Page: https://cve.day/GHSA-2gh6-wc3m-g37f · Whole record: https://cve.day/GHSA-2gh6-wc3m-g37f.json · Rebuilt by cve.day 2026-11-25T22:56:26.411Z
