What Causes This Issue
A misconfiguration in Lovable-deployed applications has exposed sensitive user data — including passport scans, government IDs, and over 200,000 private messages — to public access. The vulnerability stems from improper supabase bucket policies and missing row-level security (RLS) rules on databases backing these apps. When developers use Lovable’s visual builder to create apps backed by Supabase, default settings can leave storage buckets and database tables publicly readable if authentication policies are not explicitly configured.
Users in the Apple Support Community report discovering their personal documents accessible via direct URLs without authentication. The issue affects both iOS Safari and macOS users who interacted with Lovable-built apps for travel, finance, or messaging services. Since Lovable abstracts backend configuration, many creators — especially non-technical founders — never set up proper access control lists (ACLs) on Supabase storage or enabled RLS on Postgres tables containing PII.
Step-by-Step Fixes
- Identify affected apps immediately. Check your browser history and password manager for any Lovable-built services you’ve used. Look for URLs on
lovable.appsubdomains or custom domains connected to Lovable projects. - Revoke all active sessions. In each affected app, navigate to account settings and log out of all devices. If no logout option exists, clear site data in Safari: Settings → Safari → Advanced → Website Data → search for the domain → Remove.
- Request data deletion from app owners. Contact the service provider directly (not Lovable) demanding immediate deletion of your passport scans, messages, and PII under GDPR Article 17 or CCPA Section 1798.105. Document your request with timestamps.
- Monitor for identity theft. Place a fraud alert with Experian, Equifax, and TransUnion. If passport data was exposed, contact your country’s passport agency to flag the document number and request reissue guidance.
- Rotate compromised credentials. Change passwords for any accounts using the same email/password combination. Enable two-factor authentication (2FA) using an authenticator app, not SMS.
- Report to Apple if distributed via TestFlight or App Store. Use Report a Problem at reportaproblem.apple.com with the app name, developer, and evidence of data exposure. Apple can revoke distribution certificates.
Additional Solutions
For developers who built apps with Lovable: Immediately audit your Supabase project. In the Supabase dashboard, go to Authentication → Policies and verify every table with user data has RLS enabled with policies like CREATE POLICY "Users can view own data" ON messages FOR SELECT USING (auth.uid() = user_id);. Check Storage → Buckets → Policies — ensure no bucket has public read access. Set bucket policies to require authenticated users only.
Implement secrets rotation. Regenerate all Supabase anon and service_role keys under Project Settings → API. Update environment variables in Lovable (Project → Settings → Environment Variables) and redeploy. Invalidate any exposed JWT tokens by changing the JWT secret.
Add content security policy (CSP) headers. Since Lovable hosts on Netlify/Vercel, configure Content-Security-Policy: default-src 'self'; img-src 'self' data: https:; script-src 'self'; in your hosting provider’s headers configuration to limit data exfiltration vectors.
Run a penetration test using tools like OWASP ZAP or hire a security firm. Focus on insecure direct object references (IDOR) — the primary vector in this exposure where sequential IDs allowed enumeration of other users’ documents.
Enable audit logging in Supabase (Database → Logs) to detect unauthorized access retroactively. Export logs for forensic analysis if legal action becomes necessary.
When to Contact Apple Support
Contact Apple Support directly if:
- The vulnerable app was installed via TestFlight and you cannot remove it from Settings → General → VPN & Device Management.
- You suspect keychain compromise — passwords auto-filled by Safari for the affected domain may have been synced across devices via iCloud Keychain.
- An app from the Mac App Store or iOS App Store is implicated; Apple can remotely revoke the app’s entitlements and push removal.
- You need assistance wiping Safari website data across all iCloud-synced devices simultaneously.
Do not contact Apple for data hosted on Supabase or Lovable infrastructure — they have no control over third-party backend misconfigurations. Escalate to the app developer, Supabase support, and your local data protection authority (e.g., ICO in UK, CNIL in France).
FAQ
How do I know if my passport data was exposed? If you uploaded a passport scan to any travel visa app, digital nomad service, or identity verification flow built with Lovable between 2024–2026, assume exposure. Search your email for confirmation receipts from these services.
Can I sue Lovable or Supabase? Likely not directly. The shared responsibility model places data protection on the app developer (data controller). Lovable and Supabase are processors. Consult a privacy attorney about action against the specific service provider.
Does Apple’s App Transport Security (ATS) prevent this? No. ATS enforces HTTPS, not authorization. The data was served over valid TLS — the flaw was missing application-layer access controls.
Will changing my Apple ID password help? Only if you reused that password on the affected service. The breach is not in Apple’s systems. Focus on rotating credentials for the compromised app and enabling 2FA everywhere.
How do I verify a Lovable app is secure before using it? You cannot easily verify as a user. Avoid submitting high-value PII (passports, SSN, medical records) to apps without a published SOC 2 Type II report or independent penetration test summary. Prefer services using Sign in with Apple with Hide My Email to limit identity linkage.








































