CVE-2026-34737: AVideo Arbitrary Stripe Subscription Cancellation Vulnerability
MODERATECVE-2026-34737 is a MODERATE (CVSS 6.5) arbitrary stripe subscription cancellation vulnerability (CWE-862: Missing Authorization) affecting AVideo libraries in the Packagist ecosystem. The issue involves arbitrary stripe subscription cancellation via debug endpoint and retrievesubscriptions() bug. Remediation is available in the latest vendor maintenance releases.
CVE-2026-34737 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2026-34737
To remediate this vulnerability, upgrade all affected 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-34737, inspect your project dependencies for AVideo:
inspect dependencies for wwbn/avideo
Analyze the terminal output to locate any version of 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-862: Missing Authorization, where the product does not perform an authorization check when an actor attempts to access a resource or perform an action. In 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-34737 Affected AVideo Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
wwbn/avideo
|
Packagist |
≤ 26.0
|
|
References
Frequently Asked Questions
What is CVE-2026-34737?
Which AVideo versions are affected?
What version fixes CVE-2026-34737?
Is wwbn/avideo affected?
What is the CVSS score of CVE-2026-34737?
What CWE is associated with CVE-2026-34737?
How can I check Packagist dependencies for CVE-2026-34737?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-38rh-4v39-vfxv",
"modified" : "2026-04-01T21:06:58Z",
"published" : "2026-04-01T21:06:58Z",
"aliases" : [ "CVE-2026-34737" ],
"summary" : "AVideo: Arbitrary Stripe Subscription Cancellation via Debug Endpoint and retrieveSubscriptions() Bug",
"details" : "## Summary\n\nThe StripeYPT plugin includes a `test.php` debug endpoint that is accessible to any logged-in user, not just administrators. This endpoint processes Stripe webhook-style payloads and triggers subscription operations, including cancellation. Due to a bug in the `retrieveSubscriptions()` method that cancels subscriptions instead of merely retrieving them, any authenticated user can cancel arbitrary Stripe subscriptions by providing a subscription ID.\n\n## Details\n\nAt `plugin/StripeYPT/test.php:4`, the endpoint checks only for a logged-in user, not for admin privileges:\n\n```php\nif (!User::isLogged())\n```\n\nAt lines 27-29, the endpoint accepts a JSON payload from the request and processes it through the Stripe metadata handler:\n\n```php\n$obj = StripeYPT::getMetadataOrFromSubscription(json_decode($_REQUEST['payload']));\n```\n\nThe call chain proceeds as follows:\n- `test.php` calls `getMetadataOrFromSubscription()`\n- Which calls `getSubscriptionId()` to extract the subscription ID\n- Which calls `retrieveSubscriptions()` to interact with the Stripe API\n\nAt `StripeYPT.php:933`, the `retrieveSubscriptions()` method contains a critical bug where it cancels the subscription instead of just retrieving it:\n\n```php\n$response = $sub->cancel();\n```\n\nThis same bug also affects the production webhook processing path via `processSubscriptionIPN()`, meaning both the debug endpoint and the live webhook handler can trigger unintended cancellations.\n\n## Proof of Concept\n\n1. Log in as any regular (non-admin) user and obtain a session cookie.\n\n2. Send a crafted payload to the test endpoint with a target subscription ID:\n\n```bash\ncurl -b \"PHPSESSID=USER_SESSION\" \\\n \"https://your-avideo-instance.com/plugin/StripeYPT/test.php\" \\\n -d 'payload={\"data\":{\"object\":{\"id\":\"sub_TARGET_SUBSCRIPTION_ID\",\"customer\":\"cus_CUSTOMER_ID\"}}}'\n```\n\n3. The endpoint processes the payload, calls `retrieveSubscriptions()`, and the subscription is cancelled via the Stripe API.\n\n4. To enumerate subscription IDs, check if the application exposes them through other endpoints or use predictable patterns:\n\n```bash\n# Check user subscription details if accessible\ncurl -b \"PHPSESSID=USER_SESSION\" \\\n \"https://your-avideo-instance.com/plugin/StripeYPT/listSubscriptions.php\"\n```\n\n5. The Stripe subscription is now cancelled. The affected user loses access to their paid features.\n\n## Impact\n\nAny logged-in user can cancel arbitrary Stripe subscriptions belonging to other users. This causes direct financial damage to the platform operator (lost subscription revenue) and service disruption for paying subscribers who lose access to premium features. The debug endpoint should have been removed from production or restricted to admin-only access, and the `retrieveSubscriptions()` method should retrieve rather than cancel subscriptions.\n\n- **CWE-862**: Missing Authorization\n- **Severity**: Medium\n\n## Recommended Fix\n\nTwo changes are needed:\n\n**1. Restrict the debug endpoint to admins** at `plugin/StripeYPT/test.php:4`:\n\n```php\n// plugin/StripeYPT/test.php:4\nif (!User::isAdmin())\n```\n\nChange `User::isLogged()` to `User::isAdmin()` so only administrators can access the debug endpoint.\n\n**2. Fix the retrieval bug** at `StripeYPT.php:933`:\n\nRemove the `$sub->cancel()` call from `retrieveSubscriptions()` so that the function only retrieves subscription data without cancelling it:\n\n```php\n// StripeYPT.php:933 - remove the following line:\n// $response = $sub->cancel();\n```\n\nThe `retrieveSubscriptions()` method should retrieve subscription information, not cancel subscriptions as a side effect.\n\n---\n*Found by [aisafe.io](https://aisafe.io)*",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Packagist",
"name" : "wwbn/avideo"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"last_affected" : "26.0"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/WWBN/AVideo/security/advisories/GHSA-38rh-4v39-vfxv"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-34737"
}, {
"type" : "WEB",
"url" : "https://github.com/WWBN/AVideo/commit/8ac79b9375872f02f72999157b19a40c17126513"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/WWBN/AVideo"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-862" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-04-01T21:06:58Z",
"nvd_published_at" : "2026-03-31T21:16:32Z"
}
}