CVE-2026-7142
Description
A vulnerability was determined in Wooey up to 0.13.2. The impacted element is the function add_or_update_script of the file wooey/api/scripts.py of the component API Endpoint. Executing a manipulation can lead to improper authorization. It is possible to launch the attack remotely. The exploit has been publicly disclosed and may be utilized. Upgrading to version 0.13.3rc1 and 0.14.0 is sufficient to resolve this issue. This patch is called f7846fc0c323da8325422cab32623491757f1b88. The affected component should be upgraded.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
wooeyPyPI | < 0.13.3rc1 | 0.13.3rc1 |
Affected products
1Patches
1f7846fc0c323fix: add is_staff authorization check to add_or_update_script API (#407)
1 file changed · +14 −0
wooey/api/scripts.py+14 −0 modified@@ -184,6 +184,20 @@ def submit_script(request, slug=None): @require_http_methods(["POST"]) @requires_login def add_or_update_script(request): + if not request.user.is_staff: + return JsonResponse( + { + "valid": False, + "errors": { + "__all__": [ + force_str( + _("You do not have permission to upload scripts.") + ) + ] + }, + }, + status=403, + ) submitted_data = request.POST.dict() files = request.FILES
Vulnerability mechanics
Generated by null/stub on May 9, 2026. Inputs: CWE entries + fix-commit diffs from this CVE's patches. Citations validated against bundle.
References
9- github.com/advisories/GHSA-w65c-cmxj-qrhmghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-7142ghsaADVISORY
- github.com/wooey/Wooey/commit/f7846fc0c323da8325422cab32623491757f1b88nvdWEB
- github.com/wooey/Wooey/issues/408nvdWEB
- github.com/wooey/Wooey/pull/407nvdWEB
- github.com/wooey/Wooey/releases/tag/v0.13.3rc1nvdWEB
- vuldb.com/submit/801533nvdWEB
- vuldb.com/vuln/359741nvdWEB
- vuldb.com/vuln/359741/ctinvdWEB
News mentions
0No linked articles in our index yet.