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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-67434— PHP_CodeSniffer gitblame report command injection via crafted filename

Quick assessment

Affected
PHPCSStandards PHP_CodeSniffer
Exploitation
Public or AI PoC available; prioritize validation
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

PHPCSStandards PHP_CodeSniffer是PHPCSStandards组织的一款PHP代码规范检查工具。 PHPCSStandards PHP_CodeSniffer 3.13.6之前版本和4.0.0至4.0.2之前版本存在命令注入漏洞,该漏洞源于生成Gitblame、Hgblame和Svnblame报告格式时,对包含shell元字符的文件名处理不当,导致命令注入,可能执行攻击者控制的shell命令。

CVSS 7.3 · High EPSS 1.06% · P64

Affected Version Matrix 2

VendorProduct Version RangeStatus
PHPCSStandards PHP_CodeSniffer < 3.13.6 affected
>= 4.0.0, < 4.0.2 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-67434

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
PHP_CodeSniffer gitblame report command injection via crafted filename
Source: CVE Program / CVE List V5
Vulnerability Description
PHP_CodeSniffer tokenizes PHP files and detects violations of a defined set of coding standards. Prior to versions 3.13.6 and 4.0.2, PHP_CodeSniffer contains a command injection vulnerability in the code that generates the Gitblame, Hgblame, and Svnblame report formats. As a result, running PHP_CodeSniffer over untrusted files, for example in a continuous integration pipeline that scans pull requests, or on a developer machine reviewing third party code, could result in attacker controlled shell commands being executed when the Gitblame, Hgblame, or Svnblame report processes a file whose name contains shell metacharacters. Users using the default Full report, or any of the other non-blame reports, are not affected. Users on a runtime platform which does not allow filenames to contain shell metacharacters, such as " and ;, are not affected. This issue is fixed in versions 3.13.6 and 4.0.2.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5
Vulnerability Title
PHPCSStandards PHP_CodeSniffer 命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
PHPCSStandards PHP_CodeSniffer是PHPCSStandards组织的一款PHP代码规范检查工具。 PHPCSStandards PHP_CodeSniffer 3.13.6之前版本和4.0.0至4.0.2之前版本存在命令注入漏洞,该漏洞源于生成Gitblame、Hgblame和Svnblame报告格式时,对包含shell元字符的文件名处理不当,导致命令注入,可能执行攻击者控制的shell命令。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

Vendor Product Affected Versions CPE Subscribe
PHPCSStandards PHP_CodeSniffer < 3.13.6 -

II. Public POCs for CVE-2026-67434

# POC Description Source Link Shenlong Link
AI-Generated POC Premium
Qwen3.6-35B-A3B · 7782 chars
Pro+ exclusive includes:
Vulnerability reproduction recording (real sandbox build + trigger, exclusive)
In-depth vulnerability mechanism
Trigger conditions & impact
Full executable POC code
Exploit chain & mitigation
POC zip download
100+ AI POC generations per month

III. Intelligence Information for CVE-2026-67434

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

Patches & Fixes for CVE-2026-67434 (3)

Vendor Advisories for CVE-2026-67434 (1)

Vendor Pages for CVE-2026-67434 (1)

Other References for CVE-2026-67434 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-67434

No comments yet


Leave a comment