Advisories for Golang/Go.rgst.io/Stencil/V2 package

2025

go.rgst.io/stencil/v2 vulnerable to Path Traversal

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 …