PYSEC-2026-2513

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/hermes-agent/PYSEC-2026-2513.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2026-2513
Aliases
Published
2026-07-13T15:35:22Z
Modified
2026-07-13T16:31:57Z
Severity
  • 5.6 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
  • 2.9 (Low) CVSS_V4 - CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P CVSS Calculator
Summary
hermes-agent has an Injection issue
Details

A security flaw has been discovered in NousResearch hermes-agent up to 2026.4.30. Affected by this issue is the function _sanitize_env_lines of the file hermes_cli/config.py. The manipulation results in injection. It is possible to launch the attack remotely. The attack requires a high level of complexity. The exploitation is known to be difficult. The exploit has been released to the public and may be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.

References

Affected packages

PyPI / hermes-agent

Package

Name
hermes-agent
View open source insights on deps.dev
Purl
pkg:pypi/hermes-agent

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
0.18.0

Affected versions

0.*
0.13.0
0.14.0
0.15.0
0.15.1
0.15.2
0.16.0
0.17.0

Database specific

source
"https://github.com/pypa/advisory-database/blob/main/vulns/hermes-agent/PYSEC-2026-2513.yaml"