PT-2026-89861 · Debian+3 · Hugo
CVSS v4.0
9.3
حرجة
| المتجه | AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Name of the Vulnerable Software and Affected Versions
Hugo versions 0.123.1 through 0.164.x
Description
Path confinement can be bypassed because symlinks in parent directories are not dropped during direct resource lookups. An attacker who places a symlink inside a mounted directory, such as a locally vendored theme under themes/, can cause functions that perform direct lookups, including
resources.Get() and os.ReadFile(), to follow the symlink. This allows the reading of files outside the intended project boundaries, leading to the disclosure of their contents in the built site. Themes mounted as Go modules from GitHub and multi-directory walks are not affected.Recommendations
Update to version 0.165.0.
استغلال
إصلاح
Link Following
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾
تصنيف نقاط الضعف
المعرّفات ذات الصلة
المنتجات المتأثرة
Hugo