# CVE-2026-91154: Missing authentication in Ecommerce Template product cache revalidation allows unauthenticated denial of service

> Unauthenticated attackers can force product cache expiration, causing denial of service by overwhelming the database with uncached requests.

- **Severity:** Medium 6.9 (`CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** No
- **Published:** 28 Sep 2026
- **Updated:** 28 Sep 2026
- **Also known as:** GHSA-v9ch-cf39-43vr

## What is CVE-2026-91154?

CVE-2026-91154 is a medium-severity missing authorization vulnerability in MarcosCamara01 Ecommerce Template, published on 28 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

Missing Authentication for Critical Function (CWE-306) in the product cache revalidation Server Action (src/app/actions.ts, revalidateProducts) in MarcosCamara01 Ecommerce Template before commit ec97209 allows a remote, unauthenticated attacker to force expiration of the entire storefront product cache at will. The file declares "use server" at file scope, so every exported function compiles into a POST-invokable Server Action; revalidateProducts calls updateTag("products") with no session or role check, unlike the read-only actions in the same file which are safe by construction. Two client components under src/components/admin import the function, which causes its Server Action id to be compiled into a public /_next/static chunk that the application's admin middleware (proxy.ts) does not gate, so any unauthenticated user can extract that id from the public bundle and invoke the action directly. With cacheComponents enabled, the entire storefront (home, categories, product pages, search) is served from "use cache" entries produced by getAllProducts, getCategoryProducts and getProduct, all tagged products with an hours-long cacheLife. Repeated unauthenticated invocation of revalidateProducts keeps that cache permanently cold, forcing every visitor's request to read the full product catalog from Postgres instead of serving from cache, degrading storefront availability at near-zero attacker cost.

Weakness: CWE-306 (Missing Authentication for Critical Functionality)

## Which versions are affected by CVE-2026-91154?


## How do I fix CVE-2026-91154?

No fix has been published for CVE-2026-91154 yet. Limit exposure of the affected software until one is available.

## Is CVE-2026-91154 being exploited?

There is no known exploitation of CVE-2026-91154 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-91154 and fix it if it is affected.

What it is: CVE-2026-91154 is a medium-severity missing authorization vulnerability in MarcosCamara01 Ecommerce Template, published on 28 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-91154 in the wild and no public exploit code.

Affected product: MarcosCamara01 Ecommerce Template. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-91154/ (Markdown: https://insights.sbomify.com/CVE-2026-91154/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-91154
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-91154
- OSV: https://osv.dev/vulnerability/CVE-2026-91154

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-91154/
Summaries are generated and may contain mistakes; the official description above is the record.
