phpcsstandards/phpcsutils
A suite of utility functions for use with PHP_CodeSniffer
Activity
- Latest release
- 3mo ago
- Total releases
- 26
- Cadence
- ~37 days
- Last 12 months
- 4
Reach
- Stars
- —
Details
- License
- unknown
- First release
- Jan 23, 2020
| Version | Released | |
|---|---|---|
1.2.3
patch
|
1.2.3
patch
Dependencies (2)
Changelog
Compare changes
|
|
1.2.2
patch
1 CVE
CVE-2026-65954
GHSA-r6hr-vr92-vv28
Sep 29, 2026
PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()
8.6
/ 10
High
Local
Low
None
Required
Changed
High
High
High
ImpactPHPCSUtils versions 1.0.0-alpha1 through 1.2.2 contain an arbitrary code execution vulnerability in 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. The vulnerability happens when the method determines the value of an array key using Known attack vectorsKnown code paths that reach the vulnerable method include the following PHPCSExtra sniffs:
Other packages that call PatchesThis issue has been fixed in PHPCSUtils 1.2.3. We recommend all users upgrade to 1.2.3 or later. WorkaroundUsers who cannot upgrade immediately can disable the sniffs that reach the vulnerable method by adding
For example, to disable the two PHPCSExtra sniffs listed under "Known attack vectors":
To verify that the sniffs have been disabled, run PHPCS with the
CreditsMany thanks to @rodrigoprimo for responsibly disclosing this vulnerability. How can I report a security bug?Please report security vulnerabilities privately via the "Security and quality" tab on the PHPCSUtils repository. Affected versions
1.0.0
1.0.0-alpha1
1.0.0-alpha2
1.0.0-alpha3
1.0.0-alpha4
1.0.0-rc1
1.0.1
1.0.10
1.0.11
1.0.12
1.0.2
1.0.3
+ 13 more Show less
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.2.0
1.2.1
1.2.2
Fixed in
1.2.3
References
Updated Sep 29, 2026 · Source: OSV.dev | ||
1.2.1
patch
1 CVE
CVE-2026-65954
GHSA-r6hr-vr92-vv28
Sep 29, 2026
PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()
8.6
/ 10
High
Local
Low
None
Required
Changed
High
High
High
ImpactPHPCSUtils versions 1.0.0-alpha1 through 1.2.2 contain an arbitrary code execution vulnerability in 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. The vulnerability happens when the method determines the value of an array key using Known attack vectorsKnown code paths that reach the vulnerable method include the following PHPCSExtra sniffs:
Other packages that call PatchesThis issue has been fixed in PHPCSUtils 1.2.3. We recommend all users upgrade to 1.2.3 or later. WorkaroundUsers who cannot upgrade immediately can disable the sniffs that reach the vulnerable method by adding
For example, to disable the two PHPCSExtra sniffs listed under "Known attack vectors":
To verify that the sniffs have been disabled, run PHPCS with the
CreditsMany thanks to @rodrigoprimo for responsibly disclosing this vulnerability. How can I report a security bug?Please report security vulnerabilities privately via the "Security and quality" tab on the PHPCSUtils repository. Affected versions
1.0.0
1.0.0-alpha1
1.0.0-alpha2
1.0.0-alpha3
1.0.0-alpha4
1.0.0-rc1
1.0.1
1.0.10
1.0.11
1.0.12
1.0.2
1.0.3
+ 13 more Show less
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.2.0
1.2.1
1.2.2
Fixed in
1.2.3
References
Updated Sep 29, 2026 · Source: OSV.dev | ||
1.2.0
minor
1 CVE
CVE-2026-65954
GHSA-r6hr-vr92-vv28
Sep 29, 2026
PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()
8.6
/ 10
High
Local
Low
None
Required
Changed
High
High
High
ImpactPHPCSUtils versions 1.0.0-alpha1 through 1.2.2 contain an arbitrary code execution vulnerability in 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. The vulnerability happens when the method determines the value of an array key using Known attack vectorsKnown code paths that reach the vulnerable method include the following PHPCSExtra sniffs:
Other packages that call PatchesThis issue has been fixed in PHPCSUtils 1.2.3. We recommend all users upgrade to 1.2.3 or later. WorkaroundUsers who cannot upgrade immediately can disable the sniffs that reach the vulnerable method by adding
For example, to disable the two PHPCSExtra sniffs listed under "Known attack vectors":
To verify that the sniffs have been disabled, run PHPCS with the
CreditsMany thanks to @rodrigoprimo for responsibly disclosing this vulnerability. How can I report a security bug?Please report security vulnerabilities privately via the "Security and quality" tab on the PHPCSUtils repository. Affected versions
1.0.0
1.0.0-alpha1
1.0.0-alpha2
1.0.0-alpha3
1.0.0-alpha4
1.0.0-rc1
1.0.1
1.0.10
1.0.11
1.0.12
1.0.2
1.0.3
+ 13 more Show less
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.2.0
1.2.1
1.2.2
Fixed in
1.2.3
References
Updated Sep 29, 2026 · Source: OSV.dev | ||
1.1.3
patch
1 CVE
CVE-2026-65954
GHSA-r6hr-vr92-vv28
Sep 29, 2026
PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()
8.6
/ 10
High
Local
Low
None
Required
Changed
High
High
High
ImpactPHPCSUtils versions 1.0.0-alpha1 through 1.2.2 contain an arbitrary code execution vulnerability in 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. The vulnerability happens when the method determines the value of an array key using Known attack vectorsKnown code paths that reach the vulnerable method include the following PHPCSExtra sniffs:
Other packages that call PatchesThis issue has been fixed in PHPCSUtils 1.2.3. We recommend all users upgrade to 1.2.3 or later. WorkaroundUsers who cannot upgrade immediately can disable the sniffs that reach the vulnerable method by adding
For example, to disable the two PHPCSExtra sniffs listed under "Known attack vectors":
To verify that the sniffs have been disabled, run PHPCS with the
CreditsMany thanks to @rodrigoprimo for responsibly disclosing this vulnerability. How can I report a security bug?Please report security vulnerabilities privately via the "Security and quality" tab on the PHPCSUtils repository. Affected versions
1.0.0
1.0.0-alpha1
1.0.0-alpha2
1.0.0-alpha3
1.0.0-alpha4
1.0.0-rc1
1.0.1
1.0.10
1.0.11
1.0.12
1.0.2
1.0.3
+ 13 more Show less
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.2.0
1.2.1
1.2.2
Fixed in
1.2.3
References
Updated Sep 29, 2026 · Source: OSV.dev | ||
1.1.2
patch
1 CVE
CVE-2026-65954
GHSA-r6hr-vr92-vv28
Sep 29, 2026
PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()
8.6
/ 10
High
Local
Low
None
Required
Changed
High
High
High
ImpactPHPCSUtils versions 1.0.0-alpha1 through 1.2.2 contain an arbitrary code execution vulnerability in 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. The vulnerability happens when the method determines the value of an array key using Known attack vectorsKnown code paths that reach the vulnerable method include the following PHPCSExtra sniffs:
Other packages that call PatchesThis issue has been fixed in PHPCSUtils 1.2.3. We recommend all users upgrade to 1.2.3 or later. WorkaroundUsers who cannot upgrade immediately can disable the sniffs that reach the vulnerable method by adding
For example, to disable the two PHPCSExtra sniffs listed under "Known attack vectors":
To verify that the sniffs have been disabled, run PHPCS with the
CreditsMany thanks to @rodrigoprimo for responsibly disclosing this vulnerability. How can I report a security bug?Please report security vulnerabilities privately via the "Security and quality" tab on the PHPCSUtils repository. Affected versions
1.0.0
1.0.0-alpha1
1.0.0-alpha2
1.0.0-alpha3
1.0.0-alpha4
1.0.0-rc1
1.0.1
1.0.10
1.0.11
1.0.12
1.0.2
1.0.3
+ 13 more Show less
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.2.0
1.2.1
1.2.2
Fixed in
1.2.3
References
Updated Sep 29, 2026 · Source: OSV.dev | ||
1.1.1
patch
1 CVE
CVE-2026-65954
GHSA-r6hr-vr92-vv28
Sep 29, 2026
PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()
8.6
/ 10
High
Local
Low
None
Required
Changed
High
High
High
ImpactPHPCSUtils versions 1.0.0-alpha1 through 1.2.2 contain an arbitrary code execution vulnerability in 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. The vulnerability happens when the method determines the value of an array key using Known attack vectorsKnown code paths that reach the vulnerable method include the following PHPCSExtra sniffs:
Other packages that call PatchesThis issue has been fixed in PHPCSUtils 1.2.3. We recommend all users upgrade to 1.2.3 or later. WorkaroundUsers who cannot upgrade immediately can disable the sniffs that reach the vulnerable method by adding
For example, to disable the two PHPCSExtra sniffs listed under "Known attack vectors":
To verify that the sniffs have been disabled, run PHPCS with the
CreditsMany thanks to @rodrigoprimo for responsibly disclosing this vulnerability. How can I report a security bug?Please report security vulnerabilities privately via the "Security and quality" tab on the PHPCSUtils repository. Affected versions
1.0.0
1.0.0-alpha1
1.0.0-alpha2
1.0.0-alpha3
1.0.0-alpha4
1.0.0-rc1
1.0.1
1.0.10
1.0.11
1.0.12
1.0.2
1.0.3
+ 13 more Show less
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.2.0
1.2.1
1.2.2
Fixed in
1.2.3
References
Updated Sep 29, 2026 · Source: OSV.dev | ||
1.1.0
minor
1 CVE
CVE-2026-65954
GHSA-r6hr-vr92-vv28
Sep 29, 2026
PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()
8.6
/ 10
High
Local
Low
None
Required
Changed
High
High
High
ImpactPHPCSUtils versions 1.0.0-alpha1 through 1.2.2 contain an arbitrary code execution vulnerability in 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. The vulnerability happens when the method determines the value of an array key using Known attack vectorsKnown code paths that reach the vulnerable method include the following PHPCSExtra sniffs:
Other packages that call PatchesThis issue has been fixed in PHPCSUtils 1.2.3. We recommend all users upgrade to 1.2.3 or later. WorkaroundUsers who cannot upgrade immediately can disable the sniffs that reach the vulnerable method by adding
For example, to disable the two PHPCSExtra sniffs listed under "Known attack vectors":
To verify that the sniffs have been disabled, run PHPCS with the
CreditsMany thanks to @rodrigoprimo for responsibly disclosing this vulnerability. How can I report a security bug?Please report security vulnerabilities privately via the "Security and quality" tab on the PHPCSUtils repository. Affected versions
1.0.0
1.0.0-alpha1
1.0.0-alpha2
1.0.0-alpha3
1.0.0-alpha4
1.0.0-rc1
1.0.1
1.0.10
1.0.11
1.0.12
1.0.2
1.0.3
+ 13 more Show less
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.2.0
1.2.1
1.2.2
Fixed in
1.2.3
References
Updated Sep 29, 2026 · Source: OSV.dev | ||
1.0.12
patch
1 CVE
CVE-2026-65954
GHSA-r6hr-vr92-vv28
Sep 29, 2026
PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()
8.6
/ 10
High
Local
Low
None
Required
Changed
High
High
High
ImpactPHPCSUtils versions 1.0.0-alpha1 through 1.2.2 contain an arbitrary code execution vulnerability in 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. The vulnerability happens when the method determines the value of an array key using Known attack vectorsKnown code paths that reach the vulnerable method include the following PHPCSExtra sniffs:
Other packages that call PatchesThis issue has been fixed in PHPCSUtils 1.2.3. We recommend all users upgrade to 1.2.3 or later. WorkaroundUsers who cannot upgrade immediately can disable the sniffs that reach the vulnerable method by adding
For example, to disable the two PHPCSExtra sniffs listed under "Known attack vectors":
To verify that the sniffs have been disabled, run PHPCS with the
CreditsMany thanks to @rodrigoprimo for responsibly disclosing this vulnerability. How can I report a security bug?Please report security vulnerabilities privately via the "Security and quality" tab on the PHPCSUtils repository. Affected versions
1.0.0
1.0.0-alpha1
1.0.0-alpha2
1.0.0-alpha3
1.0.0-alpha4
1.0.0-rc1
1.0.1
1.0.10
1.0.11
1.0.12
1.0.2
1.0.3
+ 13 more Show less
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.2.0
1.2.1
1.2.2
Fixed in
1.2.3
References
Updated Sep 29, 2026 · Source: OSV.dev |
1.0.12
patch
Dependencies (2)
Changelog
Compare changes
|
|
1.0.11
patch
1 CVE
CVE-2026-65954
GHSA-r6hr-vr92-vv28
Sep 29, 2026
PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()
8.6
/ 10
High
Local
Low
None
Required
Changed
High
High
High
ImpactPHPCSUtils versions 1.0.0-alpha1 through 1.2.2 contain an arbitrary code execution vulnerability in 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. The vulnerability happens when the method determines the value of an array key using Known attack vectorsKnown code paths that reach the vulnerable method include the following PHPCSExtra sniffs:
Other packages that call PatchesThis issue has been fixed in PHPCSUtils 1.2.3. We recommend all users upgrade to 1.2.3 or later. WorkaroundUsers who cannot upgrade immediately can disable the sniffs that reach the vulnerable method by adding
For example, to disable the two PHPCSExtra sniffs listed under "Known attack vectors":
To verify that the sniffs have been disabled, run PHPCS with the
CreditsMany thanks to @rodrigoprimo for responsibly disclosing this vulnerability. How can I report a security bug?Please report security vulnerabilities privately via the "Security and quality" tab on the PHPCSUtils repository. Affected versions
1.0.0
1.0.0-alpha1
1.0.0-alpha2
1.0.0-alpha3
1.0.0-alpha4
1.0.0-rc1
1.0.1
1.0.10
1.0.11
1.0.12
1.0.2
1.0.3
+ 13 more Show less
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.2.0
1.2.1
1.2.2
Fixed in
1.2.3
References
Updated Sep 29, 2026 · Source: OSV.dev | ||
1.0.10
patch
1 CVE
CVE-2026-65954
GHSA-r6hr-vr92-vv28
Sep 29, 2026
PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()
8.6
/ 10
High
Local
Low
None
Required
Changed
High
High
High
ImpactPHPCSUtils versions 1.0.0-alpha1 through 1.2.2 contain an arbitrary code execution vulnerability in 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. The vulnerability happens when the method determines the value of an array key using Known attack vectorsKnown code paths that reach the vulnerable method include the following PHPCSExtra sniffs:
Other packages that call PatchesThis issue has been fixed in PHPCSUtils 1.2.3. We recommend all users upgrade to 1.2.3 or later. WorkaroundUsers who cannot upgrade immediately can disable the sniffs that reach the vulnerable method by adding
For example, to disable the two PHPCSExtra sniffs listed under "Known attack vectors":
To verify that the sniffs have been disabled, run PHPCS with the
CreditsMany thanks to @rodrigoprimo for responsibly disclosing this vulnerability. How can I report a security bug?Please report security vulnerabilities privately via the "Security and quality" tab on the PHPCSUtils repository. Affected versions
1.0.0
1.0.0-alpha1
1.0.0-alpha2
1.0.0-alpha3
1.0.0-alpha4
1.0.0-rc1
1.0.1
1.0.10
1.0.11
1.0.12
1.0.2
1.0.3
+ 13 more Show less
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.2.0
1.2.1
1.2.2
Fixed in
1.2.3
References
Updated Sep 29, 2026 · Source: OSV.dev | ||
1.0.9
patch
1 CVE
CVE-2026-65954
GHSA-r6hr-vr92-vv28
Sep 29, 2026
PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()
8.6
/ 10
High
Local
Low
None
Required
Changed
High
High
High
ImpactPHPCSUtils versions 1.0.0-alpha1 through 1.2.2 contain an arbitrary code execution vulnerability in 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. The vulnerability happens when the method determines the value of an array key using Known attack vectorsKnown code paths that reach the vulnerable method include the following PHPCSExtra sniffs:
Other packages that call PatchesThis issue has been fixed in PHPCSUtils 1.2.3. We recommend all users upgrade to 1.2.3 or later. WorkaroundUsers who cannot upgrade immediately can disable the sniffs that reach the vulnerable method by adding
For example, to disable the two PHPCSExtra sniffs listed under "Known attack vectors":
To verify that the sniffs have been disabled, run PHPCS with the
CreditsMany thanks to @rodrigoprimo for responsibly disclosing this vulnerability. How can I report a security bug?Please report security vulnerabilities privately via the "Security and quality" tab on the PHPCSUtils repository. Affected versions
1.0.0
1.0.0-alpha1
1.0.0-alpha2
1.0.0-alpha3
1.0.0-alpha4
1.0.0-rc1
1.0.1
1.0.10
1.0.11
1.0.12
1.0.2
1.0.3
+ 13 more Show less
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.2.0
1.2.1
1.2.2
Fixed in
1.2.3
References
Updated Sep 29, 2026 · Source: OSV.dev | ||
1.0.8
patch
1 CVE
CVE-2026-65954
GHSA-r6hr-vr92-vv28
Sep 29, 2026
PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()
8.6
/ 10
High
Local
Low
None
Required
Changed
High
High
High
ImpactPHPCSUtils versions 1.0.0-alpha1 through 1.2.2 contain an arbitrary code execution vulnerability in 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. The vulnerability happens when the method determines the value of an array key using Known attack vectorsKnown code paths that reach the vulnerable method include the following PHPCSExtra sniffs:
Other packages that call PatchesThis issue has been fixed in PHPCSUtils 1.2.3. We recommend all users upgrade to 1.2.3 or later. WorkaroundUsers who cannot upgrade immediately can disable the sniffs that reach the vulnerable method by adding
For example, to disable the two PHPCSExtra sniffs listed under "Known attack vectors":
To verify that the sniffs have been disabled, run PHPCS with the
CreditsMany thanks to @rodrigoprimo for responsibly disclosing this vulnerability. How can I report a security bug?Please report security vulnerabilities privately via the "Security and quality" tab on the PHPCSUtils repository. Affected versions
1.0.0
1.0.0-alpha1
1.0.0-alpha2
1.0.0-alpha3
1.0.0-alpha4
1.0.0-rc1
1.0.1
1.0.10
1.0.11
1.0.12
1.0.2
1.0.3
+ 13 more Show less
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.2.0
1.2.1
1.2.2
Fixed in
1.2.3
References
Updated Sep 29, 2026 · Source: OSV.dev | ||
1.0.7
patch
1 CVE
CVE-2026-65954
GHSA-r6hr-vr92-vv28
Sep 29, 2026
PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()
8.6
/ 10
High
Local
Low
None
Required
Changed
High
High
High
ImpactPHPCSUtils versions 1.0.0-alpha1 through 1.2.2 contain an arbitrary code execution vulnerability in 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. The vulnerability happens when the method determines the value of an array key using Known attack vectorsKnown code paths that reach the vulnerable method include the following PHPCSExtra sniffs:
Other packages that call PatchesThis issue has been fixed in PHPCSUtils 1.2.3. We recommend all users upgrade to 1.2.3 or later. WorkaroundUsers who cannot upgrade immediately can disable the sniffs that reach the vulnerable method by adding
For example, to disable the two PHPCSExtra sniffs listed under "Known attack vectors":
To verify that the sniffs have been disabled, run PHPCS with the
CreditsMany thanks to @rodrigoprimo for responsibly disclosing this vulnerability. How can I report a security bug?Please report security vulnerabilities privately via the "Security and quality" tab on the PHPCSUtils repository. Affected versions
1.0.0
1.0.0-alpha1
1.0.0-alpha2
1.0.0-alpha3
1.0.0-alpha4
1.0.0-rc1
1.0.1
1.0.10
1.0.11
1.0.12
1.0.2
1.0.3
+ 13 more Show less
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.2.0
1.2.1
1.2.2
Fixed in
1.2.3
References
Updated Sep 29, 2026 · Source: OSV.dev | ||
1.0.6
patch
1 CVE
CVE-2026-65954
GHSA-r6hr-vr92-vv28
Sep 29, 2026
PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()
8.6
/ 10
High
Local
Low
None
Required
Changed
High
High
High
ImpactPHPCSUtils versions 1.0.0-alpha1 through 1.2.2 contain an arbitrary code execution vulnerability in 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. The vulnerability happens when the method determines the value of an array key using Known attack vectorsKnown code paths that reach the vulnerable method include the following PHPCSExtra sniffs:
Other packages that call PatchesThis issue has been fixed in PHPCSUtils 1.2.3. We recommend all users upgrade to 1.2.3 or later. WorkaroundUsers who cannot upgrade immediately can disable the sniffs that reach the vulnerable method by adding
For example, to disable the two PHPCSExtra sniffs listed under "Known attack vectors":
To verify that the sniffs have been disabled, run PHPCS with the
CreditsMany thanks to @rodrigoprimo for responsibly disclosing this vulnerability. How can I report a security bug?Please report security vulnerabilities privately via the "Security and quality" tab on the PHPCSUtils repository. Affected versions
1.0.0
1.0.0-alpha1
1.0.0-alpha2
1.0.0-alpha3
1.0.0-alpha4
1.0.0-rc1
1.0.1
1.0.10
1.0.11
1.0.12
1.0.2
1.0.3
+ 13 more Show less
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.2.0
1.2.1
1.2.2
Fixed in
1.2.3
References
Updated Sep 29, 2026 · Source: OSV.dev | ||
1.0.5
patch
1 CVE
CVE-2026-65954
GHSA-r6hr-vr92-vv28
Sep 29, 2026
PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()
8.6
/ 10
High
Local
Low
None
Required
Changed
High
High
High
ImpactPHPCSUtils versions 1.0.0-alpha1 through 1.2.2 contain an arbitrary code execution vulnerability in 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. The vulnerability happens when the method determines the value of an array key using Known attack vectorsKnown code paths that reach the vulnerable method include the following PHPCSExtra sniffs:
Other packages that call PatchesThis issue has been fixed in PHPCSUtils 1.2.3. We recommend all users upgrade to 1.2.3 or later. WorkaroundUsers who cannot upgrade immediately can disable the sniffs that reach the vulnerable method by adding
For example, to disable the two PHPCSExtra sniffs listed under "Known attack vectors":
To verify that the sniffs have been disabled, run PHPCS with the
CreditsMany thanks to @rodrigoprimo for responsibly disclosing this vulnerability. How can I report a security bug?Please report security vulnerabilities privately via the "Security and quality" tab on the PHPCSUtils repository. Affected versions
1.0.0
1.0.0-alpha1
1.0.0-alpha2
1.0.0-alpha3
1.0.0-alpha4
1.0.0-rc1
1.0.1
1.0.10
1.0.11
1.0.12
1.0.2
1.0.3
+ 13 more Show less
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.2.0
1.2.1
1.2.2
Fixed in
1.2.3
References
Updated Sep 29, 2026 · Source: OSV.dev | ||
1.0.4
patch
1 CVE
CVE-2026-65954
GHSA-r6hr-vr92-vv28
Sep 29, 2026
PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()
8.6
/ 10
High
Local
Low
None
Required
Changed
High
High
High
ImpactPHPCSUtils versions 1.0.0-alpha1 through 1.2.2 contain an arbitrary code execution vulnerability in 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. The vulnerability happens when the method determines the value of an array key using Known attack vectorsKnown code paths that reach the vulnerable method include the following PHPCSExtra sniffs:
Other packages that call PatchesThis issue has been fixed in PHPCSUtils 1.2.3. We recommend all users upgrade to 1.2.3 or later. WorkaroundUsers who cannot upgrade immediately can disable the sniffs that reach the vulnerable method by adding
For example, to disable the two PHPCSExtra sniffs listed under "Known attack vectors":
To verify that the sniffs have been disabled, run PHPCS with the
CreditsMany thanks to @rodrigoprimo for responsibly disclosing this vulnerability. How can I report a security bug?Please report security vulnerabilities privately via the "Security and quality" tab on the PHPCSUtils repository. Affected versions
1.0.0
1.0.0-alpha1
1.0.0-alpha2
1.0.0-alpha3
1.0.0-alpha4
1.0.0-rc1
1.0.1
1.0.10
1.0.11
1.0.12
1.0.2
1.0.3
+ 13 more Show less
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.2.0
1.2.1
1.2.2
Fixed in
1.2.3
References
Updated Sep 29, 2026 · Source: OSV.dev | ||
1.0.3
patch
1 CVE
CVE-2026-65954
GHSA-r6hr-vr92-vv28
Sep 29, 2026
PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()
8.6
/ 10
High
Local
Low
None
Required
Changed
High
High
High
ImpactPHPCSUtils versions 1.0.0-alpha1 through 1.2.2 contain an arbitrary code execution vulnerability in 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. The vulnerability happens when the method determines the value of an array key using Known attack vectorsKnown code paths that reach the vulnerable method include the following PHPCSExtra sniffs:
Other packages that call PatchesThis issue has been fixed in PHPCSUtils 1.2.3. We recommend all users upgrade to 1.2.3 or later. WorkaroundUsers who cannot upgrade immediately can disable the sniffs that reach the vulnerable method by adding
For example, to disable the two PHPCSExtra sniffs listed under "Known attack vectors":
To verify that the sniffs have been disabled, run PHPCS with the
CreditsMany thanks to @rodrigoprimo for responsibly disclosing this vulnerability. How can I report a security bug?Please report security vulnerabilities privately via the "Security and quality" tab on the PHPCSUtils repository. Affected versions
1.0.0
1.0.0-alpha1
1.0.0-alpha2
1.0.0-alpha3
1.0.0-alpha4
1.0.0-rc1
1.0.1
1.0.10
1.0.11
1.0.12
1.0.2
1.0.3
+ 13 more Show less
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.2.0
1.2.1
1.2.2
Fixed in
1.2.3
References
Updated Sep 29, 2026 · Source: OSV.dev | ||
1.0.2
patch
1 CVE
CVE-2026-65954
GHSA-r6hr-vr92-vv28
Sep 29, 2026
PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()
8.6
/ 10
High
Local
Low
None
Required
Changed
High
High
High
ImpactPHPCSUtils versions 1.0.0-alpha1 through 1.2.2 contain an arbitrary code execution vulnerability in 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. The vulnerability happens when the method determines the value of an array key using Known attack vectorsKnown code paths that reach the vulnerable method include the following PHPCSExtra sniffs:
Other packages that call PatchesThis issue has been fixed in PHPCSUtils 1.2.3. We recommend all users upgrade to 1.2.3 or later. WorkaroundUsers who cannot upgrade immediately can disable the sniffs that reach the vulnerable method by adding
For example, to disable the two PHPCSExtra sniffs listed under "Known attack vectors":
To verify that the sniffs have been disabled, run PHPCS with the
CreditsMany thanks to @rodrigoprimo for responsibly disclosing this vulnerability. How can I report a security bug?Please report security vulnerabilities privately via the "Security and quality" tab on the PHPCSUtils repository. Affected versions
1.0.0
1.0.0-alpha1
1.0.0-alpha2
1.0.0-alpha3
1.0.0-alpha4
1.0.0-rc1
1.0.1
1.0.10
1.0.11
1.0.12
1.0.2
1.0.3
+ 13 more Show less
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.2.0
1.2.1
1.2.2
Fixed in
1.2.3
References
Updated Sep 29, 2026 · Source: OSV.dev | ||
1.0.1
patch
1 CVE
CVE-2026-65954
GHSA-r6hr-vr92-vv28
Sep 29, 2026
PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()
8.6
/ 10
High
Local
Low
None
Required
Changed
High
High
High
ImpactPHPCSUtils versions 1.0.0-alpha1 through 1.2.2 contain an arbitrary code execution vulnerability in 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. The vulnerability happens when the method determines the value of an array key using Known attack vectorsKnown code paths that reach the vulnerable method include the following PHPCSExtra sniffs:
Other packages that call PatchesThis issue has been fixed in PHPCSUtils 1.2.3. We recommend all users upgrade to 1.2.3 or later. WorkaroundUsers who cannot upgrade immediately can disable the sniffs that reach the vulnerable method by adding
For example, to disable the two PHPCSExtra sniffs listed under "Known attack vectors":
To verify that the sniffs have been disabled, run PHPCS with the
CreditsMany thanks to @rodrigoprimo for responsibly disclosing this vulnerability. How can I report a security bug?Please report security vulnerabilities privately via the "Security and quality" tab on the PHPCSUtils repository. Affected versions
1.0.0
1.0.0-alpha1
1.0.0-alpha2
1.0.0-alpha3
1.0.0-alpha4
1.0.0-rc1
1.0.1
1.0.10
1.0.11
1.0.12
1.0.2
1.0.3
+ 13 more Show less
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.2.0
1.2.1
1.2.2
Fixed in
1.2.3
References
Updated Sep 29, 2026 · Source: OSV.dev | ||
1.0.0
initial
1 CVE
CVE-2026-65954
GHSA-r6hr-vr92-vv28
Sep 29, 2026
PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()
8.6
/ 10
High
Local
Low
None
Required
Changed
High
High
High
ImpactPHPCSUtils versions 1.0.0-alpha1 through 1.2.2 contain an arbitrary code execution vulnerability in 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. The vulnerability happens when the method determines the value of an array key using Known attack vectorsKnown code paths that reach the vulnerable method include the following PHPCSExtra sniffs:
Other packages that call PatchesThis issue has been fixed in PHPCSUtils 1.2.3. We recommend all users upgrade to 1.2.3 or later. WorkaroundUsers who cannot upgrade immediately can disable the sniffs that reach the vulnerable method by adding
For example, to disable the two PHPCSExtra sniffs listed under "Known attack vectors":
To verify that the sniffs have been disabled, run PHPCS with the
CreditsMany thanks to @rodrigoprimo for responsibly disclosing this vulnerability. How can I report a security bug?Please report security vulnerabilities privately via the "Security and quality" tab on the PHPCSUtils repository. Affected versions
1.0.0
1.0.0-alpha1
1.0.0-alpha2
1.0.0-alpha3
1.0.0-alpha4
1.0.0-rc1
1.0.1
1.0.10
1.0.11
1.0.12
1.0.2
1.0.3
+ 13 more Show less
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.2.0
1.2.1
1.2.2
Fixed in
1.2.3
References
Updated Sep 29, 2026 · Source: OSV.dev | ||
1.0.0-rc1
pre
1 CVE
CVE-2026-65954
GHSA-r6hr-vr92-vv28
Sep 29, 2026
PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()
8.6
/ 10
High
Local
Low
None
Required
Changed
High
High
High
ImpactPHPCSUtils versions 1.0.0-alpha1 through 1.2.2 contain an arbitrary code execution vulnerability in 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. The vulnerability happens when the method determines the value of an array key using Known attack vectorsKnown code paths that reach the vulnerable method include the following PHPCSExtra sniffs:
Other packages that call PatchesThis issue has been fixed in PHPCSUtils 1.2.3. We recommend all users upgrade to 1.2.3 or later. WorkaroundUsers who cannot upgrade immediately can disable the sniffs that reach the vulnerable method by adding
For example, to disable the two PHPCSExtra sniffs listed under "Known attack vectors":
To verify that the sniffs have been disabled, run PHPCS with the
CreditsMany thanks to @rodrigoprimo for responsibly disclosing this vulnerability. How can I report a security bug?Please report security vulnerabilities privately via the "Security and quality" tab on the PHPCSUtils repository. Affected versions
1.0.0
1.0.0-alpha1
1.0.0-alpha2
1.0.0-alpha3
1.0.0-alpha4
1.0.0-rc1
1.0.1
1.0.10
1.0.11
1.0.12
1.0.2
1.0.3
+ 13 more Show less
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.2.0
1.2.1
1.2.2
Fixed in
1.2.3
References
Updated Sep 29, 2026 · Source: OSV.dev | ||
1.0.0-alpha4
pre
1 CVE
CVE-2026-65954
GHSA-r6hr-vr92-vv28
Sep 29, 2026
PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()
8.6
/ 10
High
Local
Low
None
Required
Changed
High
High
High
ImpactPHPCSUtils versions 1.0.0-alpha1 through 1.2.2 contain an arbitrary code execution vulnerability in 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. The vulnerability happens when the method determines the value of an array key using Known attack vectorsKnown code paths that reach the vulnerable method include the following PHPCSExtra sniffs:
Other packages that call PatchesThis issue has been fixed in PHPCSUtils 1.2.3. We recommend all users upgrade to 1.2.3 or later. WorkaroundUsers who cannot upgrade immediately can disable the sniffs that reach the vulnerable method by adding
For example, to disable the two PHPCSExtra sniffs listed under "Known attack vectors":
To verify that the sniffs have been disabled, run PHPCS with the
CreditsMany thanks to @rodrigoprimo for responsibly disclosing this vulnerability. How can I report a security bug?Please report security vulnerabilities privately via the "Security and quality" tab on the PHPCSUtils repository. Affected versions
1.0.0
1.0.0-alpha1
1.0.0-alpha2
1.0.0-alpha3
1.0.0-alpha4
1.0.0-rc1
1.0.1
1.0.10
1.0.11
1.0.12
1.0.2
1.0.3
+ 13 more Show less
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.2.0
1.2.1
1.2.2
Fixed in
1.2.3
References
Updated Sep 29, 2026 · Source: OSV.dev | ||
1.0.0-alpha3
pre
1 CVE
CVE-2026-65954
GHSA-r6hr-vr92-vv28
Sep 29, 2026
PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()
8.6
/ 10
High
Local
Low
None
Required
Changed
High
High
High
ImpactPHPCSUtils versions 1.0.0-alpha1 through 1.2.2 contain an arbitrary code execution vulnerability in 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. The vulnerability happens when the method determines the value of an array key using Known attack vectorsKnown code paths that reach the vulnerable method include the following PHPCSExtra sniffs:
Other packages that call PatchesThis issue has been fixed in PHPCSUtils 1.2.3. We recommend all users upgrade to 1.2.3 or later. WorkaroundUsers who cannot upgrade immediately can disable the sniffs that reach the vulnerable method by adding
For example, to disable the two PHPCSExtra sniffs listed under "Known attack vectors":
To verify that the sniffs have been disabled, run PHPCS with the
CreditsMany thanks to @rodrigoprimo for responsibly disclosing this vulnerability. How can I report a security bug?Please report security vulnerabilities privately via the "Security and quality" tab on the PHPCSUtils repository. Affected versions
1.0.0
1.0.0-alpha1
1.0.0-alpha2
1.0.0-alpha3
1.0.0-alpha4
1.0.0-rc1
1.0.1
1.0.10
1.0.11
1.0.12
1.0.2
1.0.3
+ 13 more Show less
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.2.0
1.2.1
1.2.2
Fixed in
1.2.3
References
Updated Sep 29, 2026 · Source: OSV.dev | ||
1.0.0-alpha2
pre
1 CVE
CVE-2026-65954
GHSA-r6hr-vr92-vv28
Sep 29, 2026
PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()
8.6
/ 10
High
Local
Low
None
Required
Changed
High
High
High
ImpactPHPCSUtils versions 1.0.0-alpha1 through 1.2.2 contain an arbitrary code execution vulnerability in 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. The vulnerability happens when the method determines the value of an array key using Known attack vectorsKnown code paths that reach the vulnerable method include the following PHPCSExtra sniffs:
Other packages that call PatchesThis issue has been fixed in PHPCSUtils 1.2.3. We recommend all users upgrade to 1.2.3 or later. WorkaroundUsers who cannot upgrade immediately can disable the sniffs that reach the vulnerable method by adding
For example, to disable the two PHPCSExtra sniffs listed under "Known attack vectors":
To verify that the sniffs have been disabled, run PHPCS with the
CreditsMany thanks to @rodrigoprimo for responsibly disclosing this vulnerability. How can I report a security bug?Please report security vulnerabilities privately via the "Security and quality" tab on the PHPCSUtils repository. Affected versions
1.0.0
1.0.0-alpha1
1.0.0-alpha2
1.0.0-alpha3
1.0.0-alpha4
1.0.0-rc1
1.0.1
1.0.10
1.0.11
1.0.12
1.0.2
1.0.3
+ 13 more Show less
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.2.0
1.2.1
1.2.2
Fixed in
1.2.3
References
Updated Sep 29, 2026 · Source: OSV.dev | ||
1.0.0-alpha1
pre
1 CVE
CVE-2026-65954
GHSA-r6hr-vr92-vv28
Sep 29, 2026
PHPCSUtils: Remote code execution via eval() in AbstractArrayDeclarationSniff::getActualArrayKey()
8.6
/ 10
High
Local
Low
None
Required
Changed
High
High
High
ImpactPHPCSUtils versions 1.0.0-alpha1 through 1.2.2 contain an arbitrary code execution vulnerability in 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. The vulnerability happens when the method determines the value of an array key using Known attack vectorsKnown code paths that reach the vulnerable method include the following PHPCSExtra sniffs:
Other packages that call PatchesThis issue has been fixed in PHPCSUtils 1.2.3. We recommend all users upgrade to 1.2.3 or later. WorkaroundUsers who cannot upgrade immediately can disable the sniffs that reach the vulnerable method by adding
For example, to disable the two PHPCSExtra sniffs listed under "Known attack vectors":
To verify that the sniffs have been disabled, run PHPCS with the
CreditsMany thanks to @rodrigoprimo for responsibly disclosing this vulnerability. How can I report a security bug?Please report security vulnerabilities privately via the "Security and quality" tab on the PHPCSUtils repository. Affected versions
1.0.0
1.0.0-alpha1
1.0.0-alpha2
1.0.0-alpha3
1.0.0-alpha4
1.0.0-rc1
1.0.1
1.0.10
1.0.11
1.0.12
1.0.2
1.0.3
+ 13 more Show less
1.0.4
1.0.5
1.0.6
1.0.7
1.0.8
1.0.9
1.1.0
1.1.1
1.1.2
1.1.3
1.2.0
1.2.1
1.2.2
Fixed in
1.2.3
References
Updated Sep 29, 2026 · Source: OSV.dev |