Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2026-142541

Score6.3 Medium
CVSS 4.0
CategoryCode execution & injection
Published2 December 2026
Last modified: 2 December 2026

In short

This vulnerability can be exploited remotely over the network, without logging in, without any user interaction.

Impact is limited: modifying data.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

Improper Neutralization of Argument Delimiters in a Command (CWE-88) in add-and-commit from 5.0.0 before 11.0.0 allows a party who controls the branch name a workflow passes to the action to run git checkout and git push with an option of their choosing. The new_branch input, called branch before 8.0.0, is used as a single positional value and is never passed through matchGitArgs() or validated, unlike the inputs the README documents as taking raw git arguments. src/main.ts hands it to simple-git's checkout(), which builds the argument vector ['checkout', value], and on the default push path to push(), which builds ['push', 'origin', value, '--set-upstream']. git parses every element of its argument vector for a leading hyphen wherever it appears, so a value of --force is taken as the option and not as a branch name. The two commands become git checkout --force, which discards the staged changes the action was about to commit, and git push origin --force --set-upstream, which overwrites the remote branch with the runner's local state and removes from its history any commits pushed since that checkout. git's reference name rules permit a leading hyphen, so a branch named --force can be created and pushed to a fork with git push origin HEAD:refs/heads/--force, although the git branch porcelain refuses such a name; a workflow that derives new_branch from a head branch name therefore takes the value from whoever opened the pull request. The action reports committed and pushed as true and logs that the branch already existed.

CVSS: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

Weakness: CWE-88

Sources

Latest in the same category

  • CVE-2026-141547 High 7
    PDM is a Python package and dependency manager. From 2.27.0 until 2.29.8, a repository-controlled pdm.toml can override the global_only setting cache_dir because src/pdm/project/config.py enforces the restriction on…
    Code execution & injection · 2 December 2026
  • CVE-2026-76895 Medium 6.9
    CKAN MCP Server is a tool for querying CKAN open data portals. Prior to version 0.4.109, tool output is assembled from portal-controlled fields without any output-encoding step. ckan_package_show and the sibling…
    Code execution & injection · 2 December 2026
  • CVE-2026-142491 High 8.5
    eole through 0.6.8 contains an eval injection vulnerability in pydantic configuration validators that allows attackers to execute Python code by supplying a crafted model directory. Attackers can distribute a model or…
    Code execution & injection · 2 December 2026
  • CVE-2026-142490 High 8.5
    Bagpipes through 1.4.1 contains an eval injection vulnerability in bagpipes/fitting/fit.py and posterior.py that allows attackers to execute Python code by supplying a crafted posterior HDF5 file. Attackers can share a…
    Code execution & injection · 2 December 2026
  • CVE-2026-142487 Critical 9.3
    Joinly 0.3.2 before 0.5.4 contains an unsafe reflection vulnerability in the MCP server that allows unauthenticated network clients to execute code via the joinly-settings HTTP header. Attackers can supply dotted…
    Code execution & injection · 2 December 2026
  • CVE-2026-142014 Low 1.9
    A vulnerability was identified in usememos memos up to 0.31.0. Affected by this vulnerability is the function handleSignInWithIdentityProvider of the file web/src/components/IdentityProviderButtons.tsx of the component…
    Code execution & injection · 2 December 2026