CVE-2026-40908: Wwbn/avideo WWBN AVideo Has An Unauthenticated Vulnerability
MODERATECVE-2026-40908 is a MODERATE (CVSS 5.3) wwbn avideo has an unauthenticated vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Wwbn/avideo libraries in the Packagist ecosystem. The issue involves wwbn avideo has an unauthenticated information disclosure via git.json.php exposes developer emails and deployed version. Remediation is available in the latest vendor maintenance releases.
CVE-2026-40908 at a Glance
Security Impact
CVSS: 5.3
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N).
How to Fix CVE-2026-40908
To remediate this vulnerability, upgrade all affected Wwbn/avideo dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade wwbn/avideo to Latest secure release
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for wwbn/avideo
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-40908, inspect your project dependencies for Wwbn/avideo:
inspect dependencies for wwbn/avideo
Analyze the terminal output to locate any version of Wwbn/avideo in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than the patched release), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Wwbn/avideo, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-40908 Affected Wwbn/avideo Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
wwbn/avideo
|
Packagist |
≤ 29.0
|
|
References
Frequently Asked Questions
What is CVE-2026-40908?
Which Wwbn/avideo versions are affected?
What version fixes CVE-2026-40908?
Is wwbn/avideo affected?
What is the CVSS score of CVE-2026-40908?
What CWE is associated with CVE-2026-40908?
How can I check Packagist dependencies for CVE-2026-40908?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-52hf-63q4-r926",
"modified" : "2026-04-24T20:30:02Z",
"published" : "2026-04-14T22:49:25Z",
"aliases" : [ "CVE-2026-40908" ],
"summary" : "WWBN AVideo has an Unauthenticated Information Disclosure via git.json.php Exposes Developer Emails and Deployed Version",
"details" : "## Summary\n\nThe file `git.json.php` at the web root executes `git log -1` and returns the full output as JSON to any unauthenticated user. This exposes the exact deployed commit hash (enabling version fingerprinting against known CVEs), developer names and email addresses (PII), and commit messages which may contain references to internal systems or security fixes.\n\n## Details\n\n`git.json.php` is a standalone PHP script with no authentication, no session validation, and no framework bootstrap. It directly executes a shell command and returns the result:\n\n```php\n// git.json.php — complete file\n<?php\nheader('Content-Type: application/json');\n$cmd = \"git log -1\";\nexec($cmd . \" 2>&1\", $output, $return_val);\n\n$obj = new stdClass();\n$obj->output = $output;\n\nforeach ($output as $value) {\n preg_match(\"/Date:(.*)/i\", $value, $match);\n if (!empty($match[1])) {\n $obj->date = strtotime($match[1]);\n $obj->dateString = trim($match[1]);\n $obj->dateMySQL = date(\"Y-m-d H:i:s\", $obj->date);\n }\n}\n\necho json_encode($obj);\n```\n\nThe file does not `require` any configuration or authentication module. It is not protected by `.htaccess` rules. The endpoint is directly accessible to any network client.\n\nThe exposed data enables:\n1. **Version fingerprinting**: The commit hash identifies the exact deployed version, allowing attackers to cross-reference the project's public git history against known CVEs (AVideo has 22 published GHSAs) to determine which vulnerabilities remain unpatched on a given instance.\n2. **Developer PII leakage**: Author name and email from the git commit are exposed. On self-hosted instances, this may reveal internal/corporate email addresses not otherwise publicly available.\n3. **Commit message intelligence**: Commit messages may reference internal bug trackers, security fixes in progress, or infrastructure details.\n\n## PoC\n\n```bash\n# Single unauthenticated request — no cookies, no headers needed\ncurl -s https://target.example/git.json.php | python3 -m json.tool\n```\n\nVerified response from test instance:\n```json\n{\n \"output\": [\n \"commit 80a8af96e861cff45cd80fdd2478d00b2c07749e\",\n \"Author: Daniel Neto <me@danielneto.com>\",\n \"Date: Wed Apr 8 16:07:23 2026 -0300\",\n \"\",\n \" fix: Update payment response handling to include transaction token and URL\"\n ],\n \"date\": 1775675243,\n \"dateString\": \"Wed Apr 8 16:07:23 2026 -0300\",\n \"dateMySQL\": \"2026-04-08 19:07:23\"\n}\n```\n\n## Impact\n\n- Any unauthenticated remote attacker can determine the exact deployed version and identify which known CVEs (22 published GHSAs for AVideo) apply to the target instance.\n- Developer email addresses are leaked, enabling targeted phishing or social engineering against project maintainers and contributors.\n- Commit messages may disclose internal project details, security fix status, or infrastructure information.\n\n## Recommended Fix\n\nDelete `git.json.php` entirely — it serves no user-facing purpose and exists only as a development/debug artifact:\n\n```bash\nrm git.json.php\n```\n\nIf version display is needed for administrators, gate it behind authentication:\n\n```php\n<?php\nrequire_once 'videos/configuration.php';\nif (!User::isAdmin()) {\n header('HTTP/1.1 403 Forbidden');\n die(json_encode(['error' => 'Forbidden']));\n}\nheader('Content-Type: application/json');\n$cmd = \"git log -1\";\nexec($cmd . \" 2>&1\", $output, $return_val);\n\n$obj = new stdClass();\n$obj->output = $output;\n\nforeach ($output as $value) {\n preg_match(\"/Date:(.*)/i\", $value, $match);\n if (!empty($match[1])) {\n $obj->date = strtotime($match[1]);\n $obj->dateString = trim($match[1]);\n $obj->dateMySQL = date(\"Y-m-d H:i:s\", $obj->date);\n }\n}\n\necho json_encode($obj);\n```",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "wwbn/avideo"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "29.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/WWBN/AVideo/security/advisories/GHSA-52hf-63q4-r926"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-40908"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/WWBN/AVideo"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-04-14T22:49:25Z",
"nvd_published_at" : "2026-04-21T20:17:03Z"
}
}