Skip to content

Keep local catalog service bound to loopback#6

Closed
cursor[bot] wants to merge 1 commit into
masterfrom
cursor/critical-bug-inspection-76c7
Closed

Keep local catalog service bound to loopback#6
cursor[bot] wants to merge 1 commit into
masterfrom
cursor/critical-bug-inspection-76c7

Conversation

@cursor
Copy link
Copy Markdown
Contributor

@cursor cursor Bot commented May 7, 2026

Bug and impact

The recent config change made the default catalog service host 0.0.0.0. Following the local run instructions starts an unauthenticated CRUD API on all network interfaces, allowing other machines on the network to create, update, or delete catalog data.

Root cause

catalog-svc/catalog-svc/config.toml is used for local development and was changed from loopback to all interfaces to support container port publishing.

Fix

Restore the checked-in config default to 127.0.0.1 for local runs, and set APP__SERVER__HOST=0.0.0.0 in the Docker runtime image so containers remain reachable when published.

Validation

  • CC=/usr/bin/gcc CXX=/usr/bin/g++ cargo test -p catalog-svc --lib
  • CC=/usr/bin/gcc CXX=/usr/bin/g++ cargo test -p catalog-svc --test catalog_crud --no-run
Open in Web View Automation 

Co-authored-by: Bruno Medeiros <bruno.do.medeiros@gmail.com>
@bruno-medeiros bruno-medeiros deleted the cursor/critical-bug-inspection-76c7 branch May 7, 2026 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants