Skip to content
Heist/ feed
Back to feed
Medium

AVideo: Unauthenticated File Deletion via PHP Operator Precedence Bug in CLI Guard

Type: advisorySources: OSV

WWBN AVideo is an open source video platform. In versions 26.0 and prior, the AVideo installation script install/deleteSystemdPrivate.php contains a PHP operator precedence bug in its CLI-only access guard. The script is intended to run exclusively from the command line, but the guard condition !php_sapi_name() === 'cli' never evaluates to true due to how PHP resolves operator precedence. The ! (logical NOT) operator binds more tightly than === (strict comparison), causing the expression to always evaluate to false, which means the die() statement never executes. As a result, the script is accessible via HTTP without authentication and will delete files from the server's temp directory while also disclosing the temp directory contents in its response. At time of publication, there are no publicly available patches.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-34733
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 23:38 UTC · Revision 1

Source evidence

AVideo: Unauthenticated File Deletion via PHP Operator Precedence Bug in CLI Guard

core-osv · Original source

Published 31 Mar 2026, 20:52 UTC

WWBN AVideo is an open source video platform. In versions 26.0 and prior, the AVideo installation script install/deleteSystemdPrivate.php contains a PHP operator precedence bug in its CLI-only access guard. The script is intended to run exclusively from the command line, but the guard condition !php_sapi_name() === 'cli' never evaluates to true due to how PHP resolves operator precedence. The ! (logical NOT) operator binds more tightly than === (strict comparison), causing the expression to always evaluate to false, which means the die() statement never executes. As a result, the script is accessible via HTTP without authentication and will delete files from the server's temp directory while also disclosing the temp directory contents in its response. At time of publication, there are no publicly available patches.

osv:CVE-2026-34733
Complete source record
{
  "id": "bd21180f1742862a28d36d11ee7d9c8e76671d3b44fb9f250ee882149216d4ec",
  "url": "https://osv.dev/vulnerability/CVE-2026-34733",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "AVideo: Unauthenticated File Deletion via PHP Operator Precedence Bug in CLI Guard",
    "summary": "WWBN AVideo is an open source video platform. In versions 26.0 and prior, the AVideo installation script install/deleteSystemdPrivate.php contains a PHP operator precedence bug in its CLI-only access guard. The script is intended to run exclusively from the command line, but the guard condition !php_sapi_name() === 'cli' never evaluates to true due to how PHP resolves operator precedence. The ! (logical NOT) operator binds more tightly than === (strict comparison), causing the expression to always evaluate to false, which means the die() statement never executes. As a result, the script is accessible via HTTP without authentication and will delete files from the server's temp directory while also disclosing the temp directory contents in its response. At time of publication, there are no publicly available patches.",
    "evidence": "osv:CVE-2026-34733",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-34733",
      "aliases": [
        "CVE-2026-34733",
        "GHSA-wwpw-hrx8-79r5"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/wwbn/avideo",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "aee1e11ee8d9343f87b7643e49cc32924b07979b"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "26.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "cpe": "cpe:2.3:a:wwbn:avideo:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "26.0"
                      }
                    ],
                    "source": "CPE_RANGE"
                  }
                ]
              }
            }
          ],
          "versions": [
            "26.0",
            "25.0",
            "24.0",
            "22.0",
            "21.0",
            "18.0",
            "14.3.1",
            "14.3",
            "12.4",
            "11.6",
            "11.5",
            "11.1.1",
            "11.1",
            "11",
            "10.8",
            "8.9.1",
            "8.9",
            "8.7",
            "8.6",
            "8.5",
            "8.1",
            "7.8",
            "7.7",
            "7.6",
            "7.4",
            "7.3",
            "7.2",
            "4.0",
            "3.4",
            "2.7",
            "2.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-34733.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:40.524309308Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34733.json",
        "https://github.com/WWBN/AVideo/security/advisories/GHSA-wwpw-hrx8-79r5",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-34733"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-284"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34733.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-34733",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 508066,
  "published_at": "2026-03-31T20:52:45.696+00:00"
}