<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://db.gcve.eu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-15T22:07:46.269324+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@gcve.eu</email>
  </author>
  <link href="https://db.gcve.eu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://db.gcve.eu/vuln/fkie_cve-2026-65954</id>
    <title>fkie_cve-2026-65954</title>
    <updated>2026-10-15T22:07:46.294174+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>PHPCSUtils is a suite of utility functions for use with PHP_CodeSniffer. From 1.0.0-alpha1 until 1.2.3, PHPCSUtils\AbstractSniffs\AbstractArrayDeclarationSniff::getActualArrayKey() evaluates attacker-controlled array-key expressions with eval(), allowing callback-form keys in untrusted PHP code scanned by an extending sniff to execute arbitrary commands on the scanning host. Known reachable paths include Universal.Arrays.DuplicateArrayKey and Universal.Arrays.MixedArrayKeyTypes. This issue is fixed in version 1.2.3.</p>
      </div>
    </content>
    <link href="https://db.gcve.eu/vuln/fkie_cve-2026-65954"/>
  </entry>
  <entry>
    <id>https://db.gcve.eu/vuln/ghsa-r6hr-vr92-vv28</id>
    <title>GHSA-r6hr-vr92-vv28 — PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()</title>
    <updated>2026-10-15T22:07:46.294275+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Packagist: phpcsstandards/phpcsutils</p>
<p>### Impact</p>
<p>PHPCSUtils versions 1.0.0-alpha1 through 1.2.2 contain an arbitrary code execution vulnerability in `PHPCSUtils\AbstractSniffs\AbstractArrayDeclarationSniff::getActualArrayKey()`. The vulnerable method is reached by any sniff that extends `AbstractArrayDeclarationSniff` and calls `getActualArrayKey()`.</p>
<p>Running PHPCS over untrusted PHP code through such a sniff, for example, in a CI pipeline that lints pull requests, or on a developer machine reviewing third-party code, could lead to arbitrary command execution on the scanning host.</p>
<p>The vulnerability happens when the method determines the value of an array key using `eval()`. A maliciously crafted array key such as `'system'('id')` would be executed when the code was scanned.</p>
<p>### Known attack vectors</p>
<p>Known code paths that reach the vulnerable method include the following PHPCSExtra sniffs:</p>
<p>- `Universal.Arrays.DuplicateArrayKey`
- `Universal.Arrays.MixedArrayKeyTypes`</p>
<p>Other packages that call `AbstractArrayDeclarationSniff::getActualArrayKey()` may also be vulnerable.</p>
<p>### Patches</p>
<p>This issue has been fixed in PHPCSUtils 1.2.3. We recommend all users upgrade to 1.2.3 or later.</p>
<p>### Workaround</p>
<p>Users who cannot upgrade immediately can disable the sniffs that reach the vulnerable method by adding `&lt;exclude&gt;` tags to their custom ruleset (replace the placeholder standard and sniff names with the ones used in your setup):</p>
<p>```xml
&lt;rule ref="Standard"&gt;
	&lt;exclude name="Standard.Category.SniffName"/&gt;
&lt;/rule&gt;
```</p>
<p>Fo…</p></div>
    </content>
    <link href="https://db.gcve.eu/vuln/ghsa-r6hr-vr92-vv28"/>
  </entry>
</feed>
