GHSA-6j7m-7ww6-rcr4: 
JavaScript Analyse et atténuation de la vulnérabilité

Summary

In atp-hermes-hook 0.2.1 and earlier, the directory scope for the Hermes patch tool checked only the path argument. File paths named inside a V4A patch body were not checked, so a patch could add, update, delete or move files outside the configured write root. Fixed in 0.2.2.

Details

The hook scopes Hermes filesystem tools to configured directories, resolving symlinks. For patch, only the path argument was validated. A V4A patch body carries its own targets in header lines (*** Add File:, *** Update File:, *** Delete File:, *** Move File: a -> b), and Hermes applies those targets. Fix (0.2.2): the hook parses every header line in the patch body, including both sides of a move, and applies the same realpath scope check to each target. It refuses header lines it cannot parse unambiguously, ~ paths, control characters and unusual whitespace (where JavaScript and Python parsing differ), and patch bodies that name no file.

Proof of concept

  1. Configure atp-hermes-hook 0.2.1 with a write root, for example /work/project.
  2. Have the agent call the Hermes patch tool with path inside the write root and a V4A body containing *** Add File: /tmp/outside.txt followed by content lines. Result on 0.2.1: the hook allows the call and the file outside the write root is created. Result on 0.2.2: the hook blocks the call.

Impact

Path traversal / incorrect authorization. Affects Hermes Agent users of atp-hermes-hook <= 0.2.1 who rely on its directory scoping. An agent, including one following injected instructions, could write, change or delete files outside the allowed directories. The hook is a policy check on tool calls, not an operating-system sandbox.


Source: NVD

Connexe JavaScript Vulnérabilités :

CVE ID

Gravité

Partition

Technologies

Nom du composant

Exploit CISA KEV

A corrigé

Date de publication

GHSA-jxvc-9hcf-fw42CRITICAL9.2
  • JavaScript logoJavaScript
  • mysql2
NonOuiDec 05, 2026
GHSA-mxg9-wm8p-75g7HIGH8.3
  • JavaScript logoJavaScript
  • mysql2
NonOuiDec 05, 2026
GHSA-rw72-639f-x4f2HIGH7.1
  • JavaScript logoJavaScript
  • @atpdeveloper/atp-cli
NonOuiDec 05, 2026
GHSA-6j7m-7ww6-rcr4MEDIUM5.5
  • JavaScript logoJavaScript
  • atp-hermes-hook
NonOuiDec 05, 2026
GHSA-2v74-9pcq-cq9mMEDIUMN/A
  • JavaScript logoJavaScript
  • multiple-cucumber-html-reporter
NonOuiDec 05, 2026

Évaluation gratuite des vulnérabilités

Évaluez votre posture de sécurité cloud

Évaluez vos pratiques de sécurité cloud dans 9 domaines de sécurité afin d’évaluer votre niveau de risque et d’identifier les lacunes dans vos défenses.

Évaluation de la demande

Ressources Wiz supplémentaires

Obtenez une démo personnalisée

Prêt(e) à voir Wiz en action ?

"La meilleure expérience utilisateur que j’ai jamais vue, offre une visibilité totale sur les workloads cloud."
David EstlickRSSI
"Wiz fournit une interface unique pour voir ce qui se passe dans nos environnements cloud."
Adam FletcherChef du service de sécurité
"Nous savons que si Wiz identifie quelque chose comme critique, c’est qu’il l’est réellement."
Greg PoniatowskiResponsable de la gestion des menaces et des vulnérabilités