Cognition Open-Sources Devin Plugin to Patch PHP, Node.js and GitLab’s Critical Security Flaws

Cognition Open-Sources Devin Plugin to Patch PHP, Node.js and GitLab's Critical Security Flaws

Cognition has released the Devin Vulnerability Fixes plugin, a free, open-source set of agent skills that helps secure systems against three critical remote code execution flaws disclosed this week, covering PHP, Node.js and self-managed GitLab deployments. The plugin packages the remediation workflow Cognition used internally, and it is available under the MIT license.

The plugin contains three skills, one for each target: fix-php-vuln, fix-node-vuln and fix-gitlab-vuln. They run in Devin and in any coding agent that reads SKILL.md files, including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode and Windsurf. Developers can use them to inventory vulnerable systems, approve fixes, patch, test, and then ship one pull request per repository.

Devin Vulnerability Fixes: The Three Flaws It Targets

The most severe bug in the set is GitLab CVE-2026-110264, rated CVSS 10.0, the highest possible score. An integer overflow in the regular expression compiler allows unauthenticated code execution, and it affects GitLab CE and EE from version 7.0 onward. GitLab.com and GitLab Dedicated are already patched, but self-managed instances need the fix.

The PHP2Shell flaws, CVE-2026-109618 and CVE-2026-109619, are both rated CVSS 4.0 9.2. One corrupts memory after an out-of-memory condition, while the other lets stale global state from one request reach the next. PHP says every web-serving setup is at risk, with mod_php rated highest risk. Fixed versions are 8.2.35, 8.3.36, 8.4.27 and 8.5.12, while PHP 8.1 and older get no releases, only source backports.

The Node.js October 2026 security release fixes 10 CVEs, four rated High. The lead bug, CVE-2026-111497, is a Brotli decoder out-of-bounds write that can enable remote code execution. Fixed versions are 22.23.4, 24.22.1 and 26.12.1, while Node.js 20 and older are end-of-life and get no fix.

How the Plugin Works, and Its Limits

The workflow is built around safety rails. First, a read-only inventory scans Dockerfiles, base images, distro packages, CI, Helm, Terraform, Packer, Lambda and config management. Then an approval gate kicks in: nothing changes until the developer picks the repositories, with riskier minor or major upgrades flagged first. Every tag, digest, package version and checksum is confirmed against the official source before editing, and the test suite runs on the current version and then inside the new production image, with regressions stopping the run.

Each pull request carries versions, test results, runtime diffs, a risk label and a rollback plan. The skills also encode known patching traps: Debian and Ubuntu backport fixes without changing upstream versions, so checking the version number alone can mislead, and digest-pinned images need a new digest.

There are limits worth knowing. No remediation benchmark or fix-rate number has been published for the plugin, and validation is only as strong as the project’s own tests. Managed runtimes, appliances and Electron apps are flagged, not patched. The plugin requires git, a shell, Docker and registry access, and the npx skills install needs Node.js 22.20 or later.

To install it in Devin, users open Customize, then Plugins, then Browse Marketplace, and search for Vulnerability Fixes. For other agents, the command is npx skills add CognitionAI/devin-vuln-fixes, and plain-language requests such as asking to fix a PHP vulnerability also work, alongside slash commands for each of the three skills.

Source: MarkTechPost — read the full story there.

Related Articles

Leave a Reply

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