CVE-2026-16212

awesto django-shop Purchase Stock inventory.py race condition

Published Jul 19, 2026 CVSS 4.0 · 2.3 Low EPSS < 1% KEV · Not listed
Description
A vulnerability was identified in awesto django-shop up to 1.2.4. Affected is an unknown function of the file shop/models/inventory.py of the component Purchase Stock Handler. The manipulation leads to race condition. The attack is possible to be carried out remotely. The attack is considered to have high complexity. The exploitability is told to be difficult. The exploit is publicly available and might be used. The project was informed of the problem early through an issue report but has not responded yet.

Analysis

AI-generated

Technical impact

A race condition exists in the Purchase Stock Handler of awesto django-shop, allowing concurrent inventory updates to interfere with one another. This flaw may yield incorrect stock counts, potentially leading to over‑sales or inventory inconsistencies. The vulnerability is classed as CWE-362, a multi‑threading or concurrency flaw.

Affected Systems

The issue affects the awesto django-shop product, versions up to and including 1.2.4. Users running these or earlier releases should verify the installed version and assess whether the affected Purchase Stock logic is present.

Risk and Exploitability

The calculated CVSS score of 2.3 indicates a low severity, and the EPSS value of less than 1% suggests a very low probability of exploitation. The flaw is remotely exploitable, yet the described high complexity and difficulty of the exploit, coupled with the lack of a KEV listing, keep immediate risk modest. Nonetheless, the public availability of an exploit and the potential for inventory disruption warrant attention.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade awesto django-shop to the latest available release, which fixes the purchase‑stock race condition logic.
  • If an upgrade is not yet possible, apply an application‑level lock or database transaction to serialize inventory adjustments in shop/models/inventory.py.
  • Implement monitoring of inventory consistency, alerting on duplicate or unexpected stock level changes, and restrict concurrent purchase stock updates via application custom logic or external coordination services.

Generated by OpenCVE AI on July 30, 2026 at 22:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A vulnerability was identified in awesto django-shop up to 1.2.4. Affected is an unknown function of the file shop/models/inventory.py of the component Purchase Stock Handler. The manipulation leads to race condition. The attack is possible to be carried out remotely. The attack is considered to have high complexity. The exploitability is told to be difficult. The exploit is publicly available and might be used. The project was informed of the problem early through an issue report but has not responded yet.
Title awesto django-shop Purchase Stock inventory.py race condition
First Time appeared Awesto
Awesto django-shop
Weaknesses CWE-362
CPEs cpe:2.3:a:awesto:django-shop:*:*:*:*:*:*:*:*
Vendors & Products Awesto
Awesto django-shop
References
Metrics cvssV2_0

{'score': 3.6, 'vector': 'AV:N/AC:H/Au:S/C:N/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 4.2, 'vector': 'CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 4.2, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 2.3, 'vector': 'CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:P'}

Weaknesses
  • CWE-362

    Concurrent Execution using Shared Resource with Improper Synchronization ('Race Condition')

Sources

Status
PUBLISHED
Assigner
VulDB
Published
Updated
Jul 20, 2026, 1:57 PM
Reserved
Jul 18, 2026, 8:48 AM
Status
Deferred
Published
Jul 19, 2026, 5:16 AM
Modified
Oct 24, 2026, 8:10 PM