Security hardening, exploit fix, external identifiers, and metadata rescan#379
Merged
therobbiedavis merged 3 commits intocanaryfrom Feb 27, 2026
Merged
Conversation
Exclude generated/packaged C# files under the publish directory from compilation by adding Compile Remove entries (both backslash and forward-slash globs) to the Listenarr.Api.csproj. Includes a comment explaining the change and fixes EOF newline. This avoids published artifacts being recompiled on subsequent builds/publishes and handles different path separators.
Bump frontend package version and update dev dependencies; refresh package-lock.json to capture updated versions (eslint, jsdom, eslint-plugin-cypress, @types/jsdom, etc.). Also apply changes to Listenarr.Api.csproj (project file updated to align with build/dependency changes). These updates keep dependencies current and ensure the repo and project files remain in sync.
Delete unused static assets from listenarr.api/wwwroot: remove fonts/.gitkeep and fonts/README.md (font self-hosting placeholders), large-logo.png, and stats.html (bundle analysis page). Cleans up generated or unneeded frontend artifacts from the API wwwroot.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
It was brought to my attention that there was a significant security flaw with the authentication system where some api endpoints would expose Listenarrs apikey. I have fixed this exploit by making those endpoint require authorization when authentication is enabled. While looking into this security flaw, I found others as well that I have fixed, including one where the images were loaded by passing the apikey as a query param. Additionally, for clarity, there is now a banner warning you that authentication is disabled to make sure you're aware of the risk.
Audible seems to change ASINs for their books sometimes. so this release also adds the ability to add additional identifiers (ASIN, ISBN, or OLID), and the ability rescan for metadata based on the primary identifier. Additionally if audiobook covers or authors for items in your library go missing from the cache, then Listenarr will now try to automatically redownload it from the metadata provider and cache it in an attempt to recover and not show the placeholder. You can find a full list of changes and fixes below and in the CHANGELOG.md.
Changed
Added
Fixed
Removed