Improper Authentication Affecting localstack package, versions <4.14.0-r18


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.14% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-CHAINGUARDLATEST-LOCALSTACK-17896503
  • published9 Jul 2026
  • disclosed17 Jul 2026

Introduced: 9 Jul 2026

CVE-2026-49852  (opens in a new tab)
CWE-287  (opens in a new tab)
CWE-326  (opens in a new tab)
CWE-1391  (opens in a new tab)

How to fix?

Upgrade Chainguard localstack to version 4.14.0-r18 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream localstack package and not the localstack package as distributed by Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

joserfc is a Python library that provides an implementation of several JSON Object Signing and Encryption (JOSE) standards. Prior to 1.6.8, joserfc.jwt.decode accepts attacker-forged HMAC-signed tokens when the caller-supplied verification key is the empty string or None, because HMACAlgorithm.sign and HMACAlgorithm.verify in src/joserfc/_rfc7518/jws_algs.py pass the output of OctKey.get_op_key(...) to hmac.new(...) and OctKey.import_key in src/joserfc/_rfc7518/oct_key.py only emits a SecurityWarning for keys shorter than 14 bytes without rejecting zero-length input. This issue is fixed in version 1.6.8.