go.rgst.io/stencil/v2 vulnerable to Path Traversal
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- —
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub.
Summary
### Impact The library used to extract archives (github.com/jaredallard/archives) was vulnerable to the "zip slip" vulnerability. This is used to extract native extension archives and repository source archives. A native extension or repository archive could be crafted in such a way where a remote code execution or modification/reading of a file is possible using the user who is running stencil. The severity is marked as "medium" because native extensions have always considered to be "unsafe" to run when not trusted. Native extensions are arbitrary code being ran, which could always do this same exploit with less steps. The medium severity is to reflect that this could be done even when a user is _not_ using a native extension, for example a repository source archive. However, one would need to mutate the archives provided by Github or perform some hackery with links, which may not be possible. Thus, "medium" is used out of an abundance of caution where I would've labeled this as "low". ### Patches Patched in 2.3.0 and above. ### Workarounds No workarounds are present. ### References https://github.com/jaredallard/archives/security/advisories/GHSA-j95m-rcjp-q69h
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | go.rgst.io/stencil/v2 (Go) | before 2.3.0 | 2.3.0 | Patch available | GHSA-p799-q2pr-6mxj |
- go.rgst.io/stencil/v2 (Go) Vendor— Affected before 2.3.0 Fixed in 2.3.0 Patch available GHSA-p799-q2pr-6mxj
Remediation
- Fix · GHSA-p799-q2pr-6mxj go.rgst.io/stencil/v2 (Go) Fixed in 2.3.0 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-p799-q2pr-6mxj
References
Other 5
- https://github.com/jaredallard/archives/security/advisories/GHSA-j95m-rcjp-q69h
- https://github.com/rgst-io/stencil/security/advisories/GHSA-p799-q2pr-6mxj
- https://github.com/rgst-io/stencil/pull/255
- https://github.com/rgst-io/stencil/commit/5482fcada0c6f77d903d13129bd656b7df80ac3a
- https://github.com/rgst-io/stencil
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences