Entertainment community project · Unofficial, not affiliated with CVE / CNVD / NVD · All entries are public information · Disclaimer

LVELVE
  • In-house audit
  • Default credentials
  • LVE-2026-0019

ModeratePlaceholder secret key and initial admin password in the Full Stack FastAPI Template .env(LVE-2026-0019)

The repo put "change me" in the password field, and the app really does stop you from shipping it.

LVE ID
LVE-2026-0019
Verdict
Development / sample only
Affected product / version
Full Stack FastAPI Template · Local-development .env shipped in the template repository · f8c6c14
Published
2026-11-28

Description

The official Full Stack FastAPI Template commits a .env file in which SECRET_KEY, the first superuser password and the Postgres password all use the same placeholder word. Scanners report it as a leaked secret / default admin password.

Why it is harmless

  1. The settings class checks all three on load: if a value is still the placeholder it only warns when FASTAPI_ENV=development and raises ValueError (refusing to start) in every other environment.

  2. The very first line of that .env sets FASTAPI_ENV=development; it is meant for local development, and the deployment guide asks you to generate SECRET_KEY and the admin password as platform secrets, with a command to do so.

  3. The placeholder literally means "change this"; it is not the password of any real system.

Location

Compare the placeholder values in .env with _check_default_secret / _enforce_non_default_secrets in backend/app/core/config.py, then read the Secrets section of deployment.md.

References

Show per-metric scoring rationale

DS score and vector · Per-metric breakdownScoring rubric →

  • PRPrecondition / Required privilege

    NNo precondition

    Triggers anonymously — the hallmark of a real bug, so no penalty.

    +0 / 5

  • IMReal impact

    DTest / debug data only

    Only touches test environments, samples or debug data; production data is unharmed.

    +3 / 5

  • EXReachability in default production config

    GDEBUG / dev mode only

    Exists only with DEBUG or dev mode on, which the docs say never to enable in production.

    +3 / 5

  • PBPublicity / by design

    POpenly public all along

    The repo is public, the version is on the homepage, the password is in the README — it was never a secret.

    +4 / 4

  • VBVendor / maintainer behavior

    NNormal / no reply / n.a.

    No extra baffling behavior — no penalty.

    +0 / 4

  • FPFalse-positive factor

    PReal but wildly exaggerated

    It happened, but the description or rating is blown wildly out of proportion.

    +1 / 4

Total S =11/ 41 →DS 6= min(10, 1 + ⌊S / 2⌋)

Seen something just as lame?

Fill in the form in two minutes. Once a maintainer approves it, your GitHub handle is credited on the entry — permanently.

No account on this site needed — just GitHub.