Skip to main content
Stackbastion

Lovable: code export, hosting, database and security

AI app builder where you describe a web app in chat. It writes the code and runs it on Lovable's hosting and built-in backend.

Visit Lovable · Last checked:

Facts from Lovable's public docs

Can you export your code from Lovable?

Yes

Paid plans can download the whole project as a zip. Free plans can download single files only. GitHub sync is the other route.

Source: docs.lovable.dev · Checked 14 November 2026

Does Lovable sync with GitHub?

Yes, two-way

Sync with github.com is on all plans. Lovable creates a new repository, private by default, and syncs one branch at a time. GitHub Enterprise needs the Enterprise plan.

Source: docs.lovable.dev · Checked 14 November 2026

What database does a Lovable app use?

A built-in backend based on Supabase, or your own Supabase project

Database, auth and storage are built into the platform, on Supabase's open-source foundation. You can connect your own Supabase project instead.

Source: docs.lovable.dev · Checked 14 November 2026

Can you export your data from Lovable?

Direct connection is documented

The docs describe a database password for direct connections from tools and scripts. We did not find a documented data export procedure.

Source: docs.lovable.dev · Checked 14 November 2026

Where is a Lovable app hosted?

Lovable hosts it

Published apps are served from locations around the world. The docs we read do not name the cloud provider.

Source: docs.lovable.dev · Checked 14 November 2026

Can you use your own domain with Lovable?

Yes, on paid plans

You can buy a domain through Lovable or connect one you own. After a downgrade to Free, domains already connected keep working.

Source: docs.lovable.dev · Checked 14 November 2026

Can you run a Lovable app on your own server?

Yes

Lovable publishes a guide to running an app outside its hosting and built-in backend, including a self-hosted Supabase.

Source: docs.lovable.dev · Checked 14 November 2026

Are Lovable projects public by default?

No, private to your workspace

Projects are visible to workspace members only by default. Business and Enterprise can limit access to invited users. A published app is on a public URL.

Source: docs.lovable.dev · Checked 14 November 2026

Is row level security on by default in Lovable apps?

Not confirmed. We couldn't find this in Lovable's public docs.

Does Lovable have a built-in security scan?

Yes

A quick scan runs on publish. It covers database access rules, including missing row level security, and vulnerable npm packages. A deep scan reviews the app code.

Source: docs.lovable.dev · Checked 14 November 2026

Where does Lovable store app data?

Americas, Europe or Asia Pacific

Each project uses one of three regions. Lovable picks it when the backend is enabled. Business and Enterprise admins can set a workspace default.

Source: docs.lovable.dev · Checked 14 November 2026

Documented security incidents

  • CVE-2025-48757: missing row level security in Lovable-built apps (May 2025)

    A scan of 1,645 Lovable projects found 303 exposed endpoints across 170 projects. Lovable disputes the CVE and says customers are responsible for their own data.

    Source: mattpalmer.io

  • Showcased EdTech app exposed user records (February 2026)

    A researcher reported 16 vulnerabilities and 18,697 exposed user records in an app Lovable had showcased. Lovable says the project included code not written with Lovable and a database it did not host.

    Source: www.theregister.com

  • Public projects readable by other accounts (April 2026)

    A researcher showed a free account could read other users' source code, credentials and chat history. Lovable says only public projects were affected. It first denied a breach, then apologised.

    Source: www.theregister.com

All eight cases, with a check for each

Running a Lovable app on your own hosting

Lovable documents this itself. Sync the project to GitHub or download it, then deploy the code to a host of your choice. If you use the built-in backend, you also need to move the database, or connect your own Supabase project first.

Using Supabase with Lovable? Check which tables your public key can read. Free, runs in your browser.

Related posts

Stackbastion is not affiliated with Lovable. Names belong to their owners. Back to the builder directory