---
id: "CVE-2026-126370"
page: "https://infrastack.ai/live/CVE-2026-126370"
kind: "vulnerability"
aliases: ["CVE-2026-126370"]
title: "Vvveb CMS: site admin can save PHP through code editor, running commands"
severity: "high"
cvss: 8.8
epss: null
exploited: false
status: "open"
category: "runtime"
products: [{"name": "Vvveb", "fixed": [], "affected": "<= 1.0.8.6", "ecosystem": "composer"}]
ecosystems: []
tags: ["cms", "php", "runtime", "self-hosted", "vvveb"]
not_affected_if: ["managed-hosting", "newer-version", "no-site-admin-role", "no-site-admin-users"]
published_at: "2026-11-13T10:17:39+00:00"
first_seen_at: "2026-11-13T10:47:16+00:00"
updated_at: "2026-11-13T10:52:07+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126370", "first_seen_at": "2026-11-13T10:47:16+00:00"}, {"source": "analyst", "url": null, "first_seen_at": "2026-11-13T10:52:07+00:00"}]
exploit_sources: []
---

# Vvveb CMS: site admin can save PHP through code editor, running commands

Link for people: https://infrastack.ai/live/CVE-2026-126370 (this .md is for agents)

Vvveb through 1.0.8.6 lets a restricted site_admin role inject PHP by saving .sql files in the admin code editor, using an @IF macro payload that bypasses extension and content deny-lists. The injected code runs when the model loads, giving the attacker OS command execution as the web server user.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- composer:Vvveb affected <= 1.0.8.6 fixed no fixed version listed

## How to check

Check the installed Vvveb version (<= 1.0.8.6 is affected; no fixed release listed). List who holds the site_admin role. Look in plugins/*/sql/*/*.sql for lines starting with @IF whose condition holds PHP calls (file_put_contents, shell_exec, system), and in storage/model/ for generated models containing them.

## Fix

No patched version as of the 2026-10-29 GitHub advisory (patched versions: None). Until one ships, restrict the site_admin role and the admin code editor.

## Timeline

- 2026-11-13T10:47:16+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-126370
- 2026-11-13T10:52:07+00:00 analyst — GHSA-2mq4-4q7r-q52q (vendor repo) lists patched versions: None; affected <= 1.0.8.6; incomplete fix of CVE-2026-41934 (fixed 1.0.8.2). No exploitation or public mitigation seen; PoC is in the advisory.

## Documents

- [advisory] Vendor advisory: github.com https://github.com/givanz/Vvveb/security/advisories/GHSA-2mq4-4q7r-q52q
- [advisory] Third-party advisory: www.vulncheck.com https://www.vulncheck.com/advisories/vvveb-through-1.0.8.6-authenticated-rce-via-sql-code-injection-in-editor-code-save

## From the sources

Vvveb through 1.0.8.6 contains a remote code execution vulnerability allowing restricted site_admin roles to inject PHP by saving .sql files through the admin code editor. Attackers can bypass extension and content deny-lists with an @IF macro payload that compiles into executable PHP when the model loads, running OS commands as the web user.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
