Hugo theme-defined module replacements bypass mount restrictions and widen the Node.js read sandbox
影響
| パッケージ | 影響する版 | 修正版 |
|---|---|---|
| go:github.com/gohugoio/hugo | >= 0.152.0, < 0.168.0 | 0.168.0 |
A theme or module could define its own module.replacements and mount directories anywhere on the host. Details A theme or module could define its own module.replacements. If the project didn't set any replacements, Hugo applied the theme's replacements as if the project had set them. The theme could then import and mount a directory anywhere on the host, either by absolute path or by escaping themesDir with ../. This got around the rule that theme mount sources must be local paths. Mounting suc…
重大な脆弱性・障害の速報を X で受け取る悪用・大規模な漏洩・障害を、対処法と一緒に。
@vulnpulse_app をフォロー2026/12/01 06:49、GitHub Advisory Databaseが「Hugo theme-defined module replacements bypass mount restrictions and widen the Node.js read sandbox」を公開しました (種別: 脆弱性アドバイザリ)。重大度は「警告」(medium) です。関連する技術: Go、GitHub、JavaScript / Node.js。