By using this site, you agree to the Privacy Policy and Terms of Use.
Accept
World of SoftwareWorld of SoftwareWorld of Software
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Search
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
Reading: New PHP Composer Flaws Enable Arbitrary Command Execution — Patches Released
Share
Sign In
Notification Show More
Font ResizerAa
World of SoftwareWorld of Software
Font ResizerAa
  • Software
  • Mobile
  • Computing
  • Gadget
  • Gaming
  • Videos
Search
  • News
  • Software
  • Mobile
  • Computing
  • Gaming
  • Videos
  • More
    • Gadget
    • Web Stories
    • Trending
    • Press Release
Have an existing account? Sign In
Follow US
  • Privacy
  • Terms
  • Advertise
  • Contact
Copyright © All Rights Reserved. World of Software.
World of Software > Computing > New PHP Composer Flaws Enable Arbitrary Command Execution — Patches Released
Computing

New PHP Composer Flaws Enable Arbitrary Command Execution — Patches Released

News Room
Last updated: 2026/04/14 at 1:09 PM
News Room Published 14 April 2026
Share
New PHP Composer Flaws Enable Arbitrary Command Execution — Patches Released
SHARE

Ravie LakshmananApr 14, 2026Vulnerability / DevSecOps

Two high-severity security vulnerabilities have been disclosed in Composer, a package manager for PHP, that, if successfully exploited, could result in arbitrary command execution.

The vulnerabilities have been described as command injection flaws affecting the Perforce VCS (version control software) driver. Details of the two flaws are below –

  • CVE-2026-40176 (CVSS score: 7.8) – An improper input validation vulnerability that could allow an attacker controlling a repository configuration in a malicious composer.json declaring a Perforce VCS repository to inject arbitrary commands, resulting in command execution in the context of the user running Composer.
  • CVE-2026-40261 (CVSS score: 8.8) – An improper input validation vulnerability stemming from inadequate escaping that could allow an attacker to inject arbitrary commands through a crafted source reference containing shell metacharacters.

In both cases, Composer would execute these injected commands even if Perforce VCS is not installed, the maintainers noted in an advisory.

The vulnerabilities affect the following versions –

  • >= 2.3, < 2.9.6 (Fixed in version 2.9.6)
  • >= 2.0, < 2.2.27 (Fixed in version 2.2.27)

If immediate patching is not an option, it’s advised to inspect composer.json files before running Composer and verify that Perforce-related fields contain valid values. It’s also recommended to only use trusted Composer repositories, run Composer commands on projects from trusted sources, and avoid installing dependencies using the “–prefer-dist” or the “preferred-install: dist” configuration setting.

Composer said it scanned Packagist.org and did not find any evidence of the aforementioned vulnerabilities being exploited by threat actors by publishing packages with malicious Perforce information. A new release is expected to be shipped for Private Packagist Self-Hosted customers.

“As a precaution, publication of Perforce source metadata has been disabled on Packagist.org since Friday, April 10th, 2026,” it said. “Composer installations should be updated immediately regardless.”

Sign Up For Daily Newsletter

Be keep up! Get the latest breaking news delivered straight to your inbox.
By signing up, you agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
Share This Article
Facebook Twitter Email Print
Share
What do you think?
Love0
Sad0
Happy0
Sleepy0
Angry0
Dead0
Wink0
Previous Article 4 Critical Reasons OpenClaw Is the Most Overhyped AI Tool Right Now 4 Critical Reasons OpenClaw Is the Most Overhyped AI Tool Right Now
Next Article Trump Mobile revamped its entire website for a phone that still doesn’t exist Trump Mobile revamped its entire website for a phone that still doesn’t exist
Leave a comment

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Stay Connected

248.1k Like
69.1k Follow
134k Pin
54.3k Follow

Latest News

These Are The 5 Best OLED TV Deals You Should Be Looking At In April 2026 – BGR
These Are The 5 Best OLED TV Deals You Should Be Looking At In April 2026 – BGR
News
Opinion: Make Democracy capitalist again
Opinion: Make Democracy capitalist again
Computing
NAACP sues Musk’s xAI, alleging illegal air pollution
NAACP sues Musk’s xAI, alleging illegal air pollution
News
GNOME Mutter 50.1 Fixes Performance Regression For Some NVIDIA Driver Versions
GNOME Mutter 50.1 Fixes Performance Regression For Some NVIDIA Driver Versions
Computing

You Might also Like

Opinion: Make Democracy capitalist again
Computing

Opinion: Make Democracy capitalist again

13 Min Read
GNOME Mutter 50.1 Fixes Performance Regression For Some NVIDIA Driver Versions
Computing

GNOME Mutter 50.1 Fixes Performance Regression For Some NVIDIA Driver Versions

2 Min Read
Content planning for social media in 8 steps [2026 guide]
Computing

Content planning for social media in 8 steps [2026 guide]

20 Min Read
Toolora Earns a 52 Proof of Usefulness Score by Building a Privacy-First Online Tools Platform | HackerNoon
Computing

Toolora Earns a 52 Proof of Usefulness Score by Building a Privacy-First Online Tools Platform | HackerNoon

1 Min Read
//

World of Software is your one-stop website for the latest tech news and updates, follow us now to get the news that matters to you.

Quick Link

  • Privacy Policy
  • Terms of use
  • Advertise
  • Contact

Topics

  • Computing
  • Software
  • Press Release
  • Trending

Sign Up for Our Newsletter

Subscribe to our newsletter to get our newest articles instantly!

World of SoftwareWorld of Software
Follow US
Copyright © All Rights Reserved. World of Software.
Welcome Back!

Sign in to your account

Lost your password?