Loading vulnerability details...
| Property | Value |
|---|---|
| Advisory ID | SGZ-2026-3315F |
| Severity | HIGH |
| CWE | CWE-22 |
| Confidence | 90% |
| Category | logic_flaw |
| Exploitability | likely |
| Package | license-generator@latest (go) |
| Location | tmpl.go:48-51 |
| Attack Vector | NETWORK |
| Attack Complexity | LOW |
| Privileges Required | NONE |
| Discovered By | SafeGuard Zero-Day AI Discovery Engine |
The fetchTemplate function reads a file from a path supplied via the templateFile argument without any validation or sanitization. An attacker can supply path traversal sequences (e.g., "../../etc/passwd") to read arbitrary files on the server, leading to information disclosure.
The vulnerability was identified in the file tmpl.go at lines 48-51 within the license-generator package (version latest). Any code path that invokes these functions inherits this vulnerability.
Advisory: SGZ-2026-3315F | Source: SafeGuard Zero-Day AI Discovery | Status: Candidate
This vulnerability was autonomously discovered by SafeGuard's AI-powered Zero-Day Discovery engine using TAOR (Think-Act-Observe-Repeat) agentic analysis on the package source code. It is not yet tracked in any public vulnerability database (CVE, NVD, GHSA, OSV). This finding should be triaged by a security engineer and, if confirmed, reported upstream to the package maintainer.
| Property | Value |
|---|---|
| Advisory ID | SGZ-2026-3315F |
| Severity | HIGH |
| CWE | CWE-22 |
| Confidence | 90% |
| Category | logic_flaw |
| Exploitability | likely |
| Package | license-generator@latest (go) |
| Location | tmpl.go:48-51 |
| Attack Vector | NETWORK |
| Attack Complexity | LOW |
| Privileges Required | NONE |
| Discovered By | SafeGuard Zero-Day AI Discovery Engine |
The fetchTemplate function reads a file from a path supplied via the templateFile argument without any validation or sanitization. An attacker can supply path traversal sequences (e.g., "../../etc/passwd") to read arbitrary files on the server, leading to information disclosure.
The vulnerability was identified in the file tmpl.go at lines 48-51 within the license-generator package (version latest). Any code path that invokes these functions inherits this vulnerability.
Advisory: SGZ-2026-3315F | Source: SafeGuard Zero-Day AI Discovery | Status: Candidate
This vulnerability was autonomously discovered by SafeGuard's AI-powered Zero-Day Discovery engine using TAOR (Think-Act-Observe-Repeat) agentic analysis on the package source code. It is not yet tracked in any public vulnerability database (CVE, NVD, GHSA, OSV). This finding should be triaged by a security engineer and, if confirmed, reported upstream to the package maintainer. This vulnerability involves weaknesses in
This high-severity vulnerability could allow attackers to gain unauthorized access, execute arbitrary code, or compromise data integrity. Prompt remediation is strongly recommended.
Isolate affected systems from untrusted networks until patching is complete
Implement enhanced monitoring for exploitation attempts and unusual behavior