There are single-use fares as well, the "CharlieTicket" that you might've encountered.
More CharlieCard NFC info:
https://medium.com/@bobbyrsec/operation-charlie-hacking-the-...
https://media.defcon.org/DEF%20CON%2031/DEF%20CON%2031%20pre...
I found myself in Paris having to cross the other day and forgot how terrible the old way of buying tickets was, amazed that it’s still the norm in so many cities
You can also store only an ID in a QR code, but you could also fit more information and a digital signature of it in there.
And sure, simply using the serial number might pose a security risk depending on the application, but that rarely stops implementors to implement such schemes. More often than not do people believe in security by obscurity, sigh. For a simply ticket system the serial number should be secure enought as it is a use-once application.