{"id":"CVE-2026-106676","kind":"vulnerability","aliases":["CVE-2026-106676"],"related":[],"title":"mall-server: cart integer overflow yields negative-quantity orders and inflated stock","description":"qiujie mall-server 0.0.1-SNAPSHOT contains an integer overflow in CartServiceImpl that allows an authenticated user to wrap a cart quantity to a negative value. The order creation flow does not validate the resulting quantity and passes it to the stock update query, increasing inventory and creating negative-value orders.","summary":"qiujie mall-server 0.0.1-SNAPSHOT has an integer overflow in CartServiceImpl that lets an authenticated user wrap a cart quantity to a negative number. The order flow does not check the value, so the stock update raises inventory and orders with negative values are created.","severity":"unknown","cvss":null,"epss":null,"exploited":false,"exploited_at":null,"products":[],"ecosystems":[],"tags":["e-commerce","java","mall-server","other"],"not_affected_if":["other-codebase"],"how_to_check":"- Check whether the project in use is qiujie mall-server, version `0.0.1-SNAPSHOT`, and whether `CartServiceImpl` is in the codebase\n- Review how cart quantity is parsed and whether it is bounded before the order is created (unknown if the sources say more)","fix":"- unknown; the sources do not name a fixed version or patch. Validate that cart quantities are positive and within a bound before order creation and before the stock update.","status":"open","published_at":"2026-10-26T17:17:11+00:00","first_seen_at":"2026-10-26T17:31:21+00:00","triaged_at":"2026-10-26T17:33:37+00:00","updated_at":"2026-10-26T17:33:37+00:00","category":"other","confidence":0.6,"triage":{"at":"2026-10-26T17:33:37Z","model":"claude-haiku-5-5","output":{"fix":"- unknown; the sources do not name a fixed version or patch. Validate that cart quantities are positive and within a bound before order creation and before the stock update.","reach":"internet","title":"mall-server: cart integer overflow yields negative-quantity orders and inflated stock","impact":"medium","summary":"qiujie mall-server 0.0.1-SNAPSHOT has an integer overflow in CartServiceImpl that lets an authenticated user wrap a cart quantity to a negative number. The order flow does not check the value, so the stock update raises inventory and orders with negative values are created.","category":"other","nicknames":[],"who_cares":["mall-server","java","e-commerce"],"confidence":0.6,"needs_auth":"yes","worst_case":"Authenticated users create negative-value orders and inflate inventory counts","analyst_note":"Confirm the fixed version or commit for qiujie mall-server and check the NVD entry at https://nvd.nist.gov/vuln/detail/CVE-2026-106676 for how the overflow is triggered.","how_to_check":"- Check whether the project in use is qiujie mall-server, version `0.0.1-SNAPSHOT`, and whether `CartServiceImpl` is in the codebase\n- Review how cart quantity is parsed and whether it is bounded before the order is created (unknown if the sources say more)","needs_analyst":true,"not_affected_if":["other-codebase"],"who_is_affected":"Deployments of qiujie mall-server 0.0.1-SNAPSHOT where a logged-in customer can add items to a cart and place an order. The sources do not say whether anonymous or default configurations are affected. Teams not running this project can skip it.","user_interaction":"no","needs_special_setup":"unknown","severity_if_unknown":"unknown"},"cost_usd":0.000641,"input_tokens":3331,"output_tokens":616,"severity_before":"unknown"},"analyst_status":null,"analyst_note":null,"search":"'-106676':17A,20A '-2026':16A,19A '0.0.1':32B,78C 'allow':87C 'authent':43B,89C 'cart':4A,47B,94C 'cartserviceimpl':39B,85C 'check':58B 'commerc':23B 'contain':80C 'creat':73B,121C 'creation':102C 'cve':15A,18A 'e':22B 'e-commerc':21B 'flow':55B,103C 'increas':118C 'inflat':13A 'integ':5A,36B,82C 'inventori':66B,119C 'java':24B 'let':41B 'mall':2A,26B,30B,76C 'mall-serv':1A,25B,29B,75C 'negat':9A,51B,70B,98C,123C 'negative-quant':8A 'negative-valu':122C 'number':52B 'order':11A,54B,68B,101C,125C 'overflow':6A,37B,83C 'pass':111C 'qiuji':28B,74C 'quantiti':10A,48B,95C,109C 'queri':117C 'rais':65B 'result':108C 'server':3A,27B,31B,77C 'snapshot':33B,79C 'stock':14A,63B,115C 'updat':64B,116C 'user':44B,90C 'valid':106C 'valu':60B,71B,99C,124C 'wrap':45B,92C 'yield':7A","nicknames":[],"mitigations":[],"who_affected":"Deployments of qiujie mall-server 0.0.1-SNAPSHOT where a logged-in customer can add items to a cart and place an order. The sources do not say whether anonymous or default configurations are affected. Teams not running this project can skip it.","tier":"C","verified":{},"analyst_revisit_at":null,"first_public_at":"2026-10-26T17:17:11+00:00","kev":null,"cvss_vector":null,"cvss_by":null,"poc_count":0,"sources":[{"source":"nvd","external_id":"CVE-2026-106676","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-106676","severity":null,"published_at":"2026-10-26T17:17:11+00:00","modified_at":"2026-10-26T17:17:11+00:00","first_seen_at":"2026-10-26T17:31:21+00:00","fetched_at":"2026-10-26T17:31:21+00:00","note":null}],"documents":[],"notice":"Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai"}