Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-120647— CGI versions before 5.00 for Perl allow Content-Disposition parameter injection via unescaped double quotes in the header attachment filename

Quick assessment

Affected
CVE-2026-120647
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Perl 的 CGI 模块在 5.00 版本之前存在 Content-Disposition 参数注入漏洞:当附件文件名中包含未转义的双引号时,攻击者可利用该缺陷注入恶意参数。 具体而言,调用 时,CGI 模块会将 直接写入 头部中“带引号的文件名”参数,而不会对双引号进行转义处理。 若应用程序将用户请求数据直接用作附件名称,攻击者即可构造恶意输入,诱导服务器在响应中插入第二个文件名参数,从而篡改客户端保存文件时所使用的实际文件名。

AI Predicted 6.5 Difficulty: Moderate EPSS 0.21% · P11

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 1

VendorProduct Version RangeStatus
None None < 5.00 affected

I. Basic Information for CVE-2026-120647

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
CGI versions before 5.00 for Perl allow Content-Disposition parameter injection via unescaped double quotes in the header attachment filename
Source: CVE Program / CVE List V5
Vulnerability Description
CGI versions before 5.00 for Perl allow Content-Disposition parameter injection via unescaped double quotes in the header attachment filename. header(-attachment => $name) writes $name into the quoted filename parameter of Content-Disposition without escaping double quotes. An application that passes request data as the attachment name can be made to send a second filename parameter, changing the name the response is saved under.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
对输出编码和转义不恰当
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
- - 0 ~ 5.00 -

II. Public POCs for CVE-2026-120647

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-120647

请登录查看更多情报信息。

Other References for CVE-2026-120647 (3)

IV. Related Vulnerabilities