App builders · Replit
Replit
Cloud IDE with Replit Agent, hosting and built-in databases.
13Advisories
7critical
5high
1medium
2026-10-21Latest
Replit CVEs & security
Is Replit safe?
Replit is an AI-assisted cloud IDE and app host, so most entries here are about the apps people ship from it — open Supabase tables, keys in the browser, unverified Stripe webhooks — plus one case where its agent deleted a production database.
We track 13 security advisories that affect Replit: 5 name Replit directly and 8 are related patterns that show up in apps or workflows built with it. By severity: 7 critical, 5 high and 1 medium. 3 of them have a CVE ID. The most common kinds are broken access control (7), code execution (2) and secret exposure (2). The newest entry is dated 2026-10-21.
Newest entries on this page
Using Replit safely
- Keep production credentials away from the agent. Use a separate dev database and enable point-in-time backups before letting an agent touch real data.
- Turn on Row Level Security for every Supabase table, with policies that check ownership (auth.uid()), not just that someone is logged in.
- Never ship the service_role or secret key to the browser. Only the anon or publishable key belongs in frontend code.
- Never put secrets in NEXT_PUBLIC_ or VITE_ variables. They are bundled into the browser JavaScript.
- Verify Stripe webhook signatures on the server with the raw body and your endpoint signing secret before granting anything.
Timeline · advisories per quarter
42025 Q1
12025 Q3
12026 Q2
42026 Q3
32026 Q4
Named in sources
Reported for Replit
01. Supabase tables readable by anyone with no loginA scan of 30,998 live vibe-coded apps found 57% of the Supabase-backed apps it could check served table rows to requests with no login.
Lovable
Bolt
v0 +4 more 2026-08 02. Supabase service_role / secret key shipped to the browserThe service_role (or new sb_secret_) key bypasses every RLS policy. If it is in your JavaScript bundle, your whole database is public.
Lovable
Bolt
v0 +4 more 2026-08 03. Unverified Stripe webhooks hand out free upgradesIf your Stripe webhook handler doesn’t verify the Stripe-Signature header, anyone can POST a fake “checkout.session.completed” event and your app will treat it as a real payment. Scans and audits find this in a large share of AI-built apps.
Stripe
Lovable
Bolt +5 more 2026-05 04. Secrets leaked via NEXT_PUBLIC_ (or VITE_) environment variablesPrefixing a variable with NEXT_PUBLIC_ inlines it into the JavaScript every visitor downloads. AI tools often “fix” a missing-env error this way.
Lovable
Bolt
v0 +4 more 2026-08 05. AI agent deleted a production database during a code freeze (Replit)Replit Agent deleted SaaStr founder Jason Lemkin’s live database (1,206 executives, 1,196+ companies) despite an explicit freeze, then wrongly said rollback was impossible.
Replit
Cursor 2025-07
Same pattern
Also worth checking
01. php2shell (CVE-2026-109618, CVE-2026-109619): unauthenticated remote code execution in PHP itselfTwo bugs in how the PHP runtime cleans up memory after a request ends abnormally can let an unauthenticated HTTP request run code as the web server's PHP worker. They affect every PHP install that serves web requests (PHP-FPM, mod_php, php-cgi, FrankenPHP, LiteSpeed). PHP 8.5.12, 8.4.27, 8.3.36 and 8.2.35 fix them, and Cloudflare's WAF blocks known exploits by default, including on the Free plan.
PHP
Replit 2026-10-21 02. Supabase RLS policies that check login but not ownershipA policy like using (auth.uid() is not null) has RLS on and mentions the user, so it passes Lovable’s scan. But it lets any logged-in user read every row, and on most apps anyone can sign up.
Supabase
Lovable
Bolt +4 more 2026-10-10 03. UpGuard: 16,326 Supabase databases had readable tablesUpGuard checked about 300,000 websites that use Supabase and found 16,326 databases with tables anyone could read. Over half showed signs of personal data, and a smaller share held passwords or auth tokens.
Supabase
Claude Code
Codex CLI +4 more 2026-09-25 04. CVE-2025-29927: Next.js middleware authorization bypassSelf-hosted Next.js apps that did auth in middleware could be bypassed with the internal x-middleware-subrequest header. Relevant to any Next.js app, including ones generated by v0.
Next.js
v0
Bolt +2 more 2025-03 05. Node.js October 21, 2026 security releases: four HIGH bugs in 26.x, 24.x and 22.xNode.js shipped 22.23.4, 24.22.1 and 26.12.1 on October 21, 2026, fixing 10 CVEs. The four HIGH ones are a Brotli decoder out-of-bounds write that can lead to remote code execution, two TLS certificate hostname bypasses, and dns.resolve truncating names that contain a NUL byte. Any app running its own Node process should upgrade.
Node.js
Next.js
Replit 2026-10-21 06. Authentication logic living entirely in the browserHiding a page or button in the UI is not access control. If the API or database doesn’t check the user, anyone can call it directly.
Lovable
Base44
Bolt +3 more 2025 07. Slopsquatting: AI suggests packages that don’t existA USENIX Security 2025 study found 19.7% of 2.23 million package suggestions from 16 code models were hallucinated. Attackers can register those names.
Claude Code
Copilot
Cursor +5 more 2025 08. Protecting routes only in middlewareVercel recommends against middleware being the sole method of protecting routes. Check auth again where data is read or changed.
Next.js
v0
Bolt +2 more 2025-03